drm/mgag200: Move cursor BO swapping into mgag200_show_cursor()
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 27 Sep 2019 09:12:59 +0000 (11:12 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 4 Oct 2019 08:00:59 +0000 (10:00 +0200)
commit378c18386a256947055a89e177e71af6f8a60934
tree0a049efefad0b78f118fe99c77149e3f3bf322f8
parent047244aa0ad96b83c4d0426dfee3c0af184a34a4
drm/mgag200: Move cursor BO swapping into mgag200_show_cursor()

Selecting the correct BO for the new cursor image is not relevant
outside of mgag200_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/20190927091301.10574-6-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_cursor.c