OpenCloudOS-Kernel/drivers/gpu/drm/mgag200
Thomas Zimmermann 94dc57b103 drm/mgag200: Rewrite cursor handling
The cursor handling in mgag200 is complicated to understand. It touches a
number of different BOs, but doesn't really use all of them.

Rewriting the cursor update reduces the amount of cursor state. There are
two BOs for double-buffered HW updates. The source BO updates the one that
is currently not displayed and then switches buffers. Explicit BO locking
has been removed from the code. BOs are simply pinned and unpinned in video
RAM.

v2:
	* pin cursor BOs to current location

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190613073041.29350-8-tzimmermann@suse.de
2019-06-13 13:37:28 +02:00
..
Kconfig drm-misc-next for v5.3, try #2: 2019-05-28 08:59:11 +10:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mgag200_cursor.c drm/mgag200: Rewrite cursor handling 2019-06-13 13:37:28 +02:00
mgag200_drv.c drm/mgag200: Convert mgag200 driver to VRAM MM 2019-05-15 16:17:08 +02:00
mgag200_drv.h drm/mgag200: Rewrite cursor handling 2019-06-13 13:37:28 +02:00
mgag200_fb.c drm/mgag200: Pin framebuffer BO during dirty update 2019-06-13 13:37:23 +02:00
mgag200_i2c.c drm/mgag200: Added support for the new device G200eH3 2017-01-23 11:57:08 +10:00
mgag200_main.c drm/mgag200: Rewrite cursor handling 2019-06-13 13:37:28 +02:00
mgag200_mode.c drm: Replace drm_gem_vram_push_to_system() with kunmap + unpin 2019-05-22 12:43:29 +02:00
mgag200_reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mgag200_ttm.c drm/mgag200: Convert mgag200 driver to VRAM MM 2019-05-15 16:17:08 +02:00