plan9fox/sys
cinap_lenrek f4880742fd igfx: allocate backing memory for framebuffer and hw cursor when not done by bios (from qu7uux)
new approach to graphics memory management:

the kernel driver never really cared about the size of stolen memory
directly. that was only to figure out the maximum allocation
to place the hardware cursor image somewhere at the end of the
allocation done by bios.

qu7uux's gm965 bios however wont steal enougth memory for his
native resolution so we have todo it manually.

the userspace igfx driver will figure out how much the bios
allocated by looking at the gtt only. then extend the memory by
creating a "fixed" physical segment.

the kernel driver allocates the memory for the cursor image
from normal kernel memory, and just maps it into the gtt at the
end of the virtual kernel framebuffer aperture.

thanks to qu7uux for the patch.
2017-11-13 00:48:46 +01:00
..
doc /sys/doc: fix mkfile to and remove files that now can be regenerated 2017-05-09 16:23:48 +02:00
games/lib fortunes: does that me a dipshit 2016-10-16 14:16:17 -04:00
include libsec: AES-NI support for amd64 2017-11-12 23:15:15 +01:00
lib hgwebfs: simplify retry loop construction 2017-10-04 05:06:54 +02:00
man libsec: AES-NI support for amd64 2017-11-12 23:15:15 +01:00
src igfx: allocate backing memory for framebuffer and hw cursor when not done by bios (from qu7uux) 2017-11-13 00:48:46 +01:00