linux_dsm_epyc7002/drivers/gpu/drm/mgag200
Thomas Zimmermann 2c51a66016 drm/mgag200: Reserve video memory for cursor plane
The double-buffered cursor image is currently stored in video memory
by creating two BOs and pinning them to VRAM. The exact location is
chosen by VRAM helpers. The pinned cursor BOs can conflict with
framebuffer BOs and prevent the primary plane from displaying its
framebuffer.

As a first step to solving this problem, we reserve dedicated space at
the high end of the video memory for the cursor images. As the amount
of video memory now differs from the amount of available framebuffer
memory, size tests are adapted accordingly.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190927091301.10574-7-tzimmermann@suse.de
2019-10-04 10:01:05 +02:00
..
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/mgag200: Replace struct mga_fbdev with generic framebuffer emulation 2019-07-09 10:25:47 +02:00
mgag200_cursor.c drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00
mgag200_drv.c drm: drop resource_id parameter from drm_fb_helper_remove_conflicting_pci_framebuffers 2019-08-23 10:48:31 +02:00
mgag200_drv.h drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00
mgag200_i2c.c drm/mgag200: drop use of drmP.h 2019-06-30 09:58:08 +02:00
mgag200_main.c drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00
mgag200_mode.c drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00
mgag200_reg.h
mgag200_ttm.c drm/mgag200: Reserve video memory for cursor plane 2019-10-04 10:01:05 +02:00