Hi
Am 24.09.19 um 09:55 schrieb Gerd Hoffmann:
Hi,
- /*
* At the high end of video memory, we reserve space for
* buffer objects. The cursor plane uses this memory to store
* a double-buffered image of the current cursor. Hence, it's
* not available for framebuffers.
*/
- mdev->vram_fb_available -= 2 * size;
Hmm, that looks like a leftover from the previous version of the patch series ...
This belongs here. For several tests the size of the available framebuffer memory needs to be known. It's stored in mdev->vram_fb_available. mgag200_mm_init() sets the value of mdev->vram_fb_available to the full size of the video RAM. The line above subtracts the size of 2 cursor buffers.
Best regards Thomas
cheers, Gerd