drm/vkms: map/unmap buffers in [prepare/cleanup]_fb hooks
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Tue, 24 Jul 2018 16:29:23 +0000 (19:29 +0300)
committerSean Paul <seanpaul@chromium.org>
Mon, 30 Jul 2018 17:03:10 +0000 (13:03 -0400)
commit8ce1bb0b5337db4be801eea234f959104323f959
tree7da285ecdb1828384c2a2aab8376edb2626ed777
parentbb112b14af8d1910909eb132c78ddf49be907e31
drm/vkms: map/unmap buffers in [prepare/cleanup]_fb hooks

This patch map/unmap GEM backing memory to kernel address space
in prepare/cleanup_fb respectively and cache the virtual address
for later use.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/17d19f61b6539ce1b614c59762d04d816261b307.1532446182.git.hamohammed.sa@gmail.com
drivers/gpu/drm/vkms/vkms_plane.c