]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Use drm_gem_vram_{vmap,vunmap}() to map cursor source BO
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 Sep 2019 12:03:51 +0000 (14:03 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 17 Sep 2019 11:10:47 +0000 (13:10 +0200)
commitf961771c84df8b34b2abcc739df322ac3a8410f0
treec131cd3e3008e757d92854d44e965f7495a97d85
parent1ddf2d79b6327b3465ffc7f11eae3523dbead263
drm/ast: 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 ast 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-3-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_mode.c