drm/vmwgfx: Switch the internal BO's to ttm_bo_type_kernel
authorZack Rusin <zackr@vmware.com>
Fri, 5 Nov 2021 19:38:46 +0000 (15:38 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 1 Dec 2021 16:58:36 +0000 (11:58 -0500)
commita85b1cb23091d3112492f30fd92308cf4dcc4fc6
tree64712ef636b93541600f49fd8cebed9d58b71258
parentf6be23264bbac88d1e2bb39658e1b8a397e3f46d
drm/vmwgfx: Switch the internal BO's to ttm_bo_type_kernel

There's never a need to access our internal kernel bo's from
user-space. Those objects are used exclusively for internal
support to guest backed surfaces (in otable setup and mob
page tables) and there's no need to have them be of device
type, i.e. mmappable from user-space.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Martin Krastev <krastevm@vmware.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211105193845.258816-6-zackr@vmware.com
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c