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)
commit659d1a49c63d7e12f876404368c6830d0605ffd4
treeec67a7da257c5e354805a6b43063c7860342dd0f
parent2f5989fcd1b7a448a3bc30734e3b04e4c4d7bdf0
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