drm/mgag200: Add init and fini functions for cursor handling
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 27 Sep 2019 09:12:56 +0000 (11:12 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 4 Oct 2019 08:00:34 +0000 (10:00 +0200)
commit49b8d5aeaf816ed8308027da377a23ef686dd2a5
treeefe0244f7e60cb661dd5ac78d76a8a9d513114a2
parent52e32da9a1fb11461b01a8ddafbed00df3c57d5e
drm/mgag200: Add init and fini functions for cursor handling

Moving the cursor initialization and cleanup into separate functions
makes the overall code slightly more readable.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190927091301.10574-3-tzimmermann@suse.de
drivers/gpu/drm/mgag200/mgag200_cursor.c
drivers/gpu/drm/mgag200/mgag200_drv.h
drivers/gpu/drm/mgag200/mgag200_main.c