drm/mediatek: Implement gem prime vmap/vunmap function
authorCK Hu <ck.hu@mediatek.com>
Mon, 14 Jan 2019 09:36:48 +0000 (17:36 +0800)
committerCK Hu <ck.hu@mediatek.com>
Tue, 19 Mar 2019 02:37:40 +0000 (10:37 +0800)
commit3df64d7b0a4f70f1797f23cfd4cca5c4d48131fe
tree818876d719669c8005d6195c839affd36ae4ffa7
parent9e98c678c2d6ae3a17cb2de55d17f69dddaa231b
drm/mediatek: Implement gem prime vmap/vunmap function

For some application which need kernel virtual address, such as fbcon,
implement these function to map/unmap kernel virtual address of prime
buffer.

Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_drv.c
drivers/gpu/drm/mediatek/mtk_drm_gem.c
drivers/gpu/drm/mediatek/mtk_drm_gem.h