]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Pin displayed cursor BO to video memory
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 23 Jul 2019 07:54:23 +0000 (09:54 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 24 Jul 2019 07:47:43 +0000 (09:47 +0200)
commit708ce24d61eb46f856f6911029fbe5a16263cf0f
treedaa199b1594db9f9a164da17119458aa70d62986
parent25796cd4b3fb9e2879653766d11220197362251e
drm/mgag200: Pin displayed cursor BO to video memory

The cursor BO has to be pinned to video ram while it's being displayed.
With the current code, the BO might be pinned to system memory instead.
The patch fixes this problem.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Fixes: c27c8e110a03 ("drm/mgag200: Rewrite cursor handling")
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190723075425.24028-2-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_cursor.c