]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Move cursor offset swapping into ast_show_cursor()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 27 Sep 2019 09:03:08 +0000 (11:03 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 4 Oct 2019 08:00:16 +0000 (10:00 +0200)
commit1c43256fe27d64de8d3068c6cf8c62fdeaeef6dc
treeec67a7da257c5e354805a6b43063c7860342dd0f
parent768e28f62ce092d2e9ce94013e0027ad9939e758
drm/ast: Move cursor offset swapping into ast_show_cursor()

Selecting the correct offset for the new cursor image is not relevant
outside of ast_show_cursor(). Let the function do the work.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190927090309.10254-5-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c