drm/mgag200: Use drm_gem_vram_{vmap, vunmap}() to map cursor source BO
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 Sep 2019 12:03:52 +0000 (14:03 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 17 Sep 2019 11:11:09 +0000 (13:11 +0200)
commitdcc7b1f3ae99810ad745e5c41c2f7bf19be608c8
tree4205b596f335aa456d44e30ba198cbc6959f06ec
parent820d6606e9c27d7e52bd065a2798e09cc7a35532
drm/mgag200: Use drm_gem_vram_{vmap, vunmap}() to map cursor source BO

The VRAM helper's vmap interfaces provide pinning and mapping of BO
memory. This patch replaces the respective code in mgag200 cursor handling.

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