]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mgag200: Set cursor scanout address to correct BO
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 23 Jul 2019 07:54:24 +0000 (09:54 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 24 Jul 2019 07:48:03 +0000 (09:48 +0200)
commitd1504ab0543ac2d96e9ba000ee64b355e1620346
treeff4df5cb85a69a7f3086ca44c7b19a394d7a72bc
parent531a0e1dbfe21d1226ff1b7d028032642ef81798
drm/mgag200: Set cursor scanout address to correct BO

The hardware requires the correct memory address of the buffer. Currently
the same BO's address is programmed unconditionally, so only every second
cursor update actually becomes visible.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Fixes: bbd284be8ac3 ("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-3-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_cursor.c