drm: use drm_file to tag vm-bos
authorDavid Herrmann <dh.herrmann@gmail.com>
Thu, 1 Sep 2016 12:48:33 +0000 (14:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 19 Sep 2016 09:22:08 +0000 (11:22 +0200)
commitd9a1f0b4eb6080dc42bb6373ab9abb0314cea41e
treee30f04ac27771cc64af6c1e2de9386742b90d0ae
parent75ae95a75d640129fc4aff412c6ecc057142a149
drm: use drm_file to tag vm-bos

Rather than using "struct file*", use "struct drm_file*" as tag VM tag for
BOs. This will pave the way for "struct drm_file*" without any "struct
file*" back-pointer.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20160901124837.680-3-dh.herrmann@gmail.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/ast/ast_ttm.c
drivers/gpu/drm/bochs/bochs_mm.c
drivers/gpu/drm/cirrus/cirrus_ttm.c
drivers/gpu/drm/drm_gem.c
drivers/gpu/drm/drm_vma_manager.c
drivers/gpu/drm/mgag200/mgag200_ttm.c
drivers/gpu/drm/nouveau/nouveau_bo.c
drivers/gpu/drm/qxl/qxl_ttm.c
drivers/gpu/drm/radeon/radeon_ttm.c
include/drm/drm_vma_manager.h