drm/xe: Record each drm client with its VM
authorTejas Upadhyay <tejas.upadhyay@intel.com>
Thu, 10 Aug 2023 06:03:24 +0000 (11:33 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:41:15 +0000 (11:41 -0500)
commit9e4e9761e64ea1086629852d30c08307538154ec
tree5ff01fb75162a1912a3e07254aaebff94cdb4a41
parentb27970f3e11c616c7a5121537502f6e21a460881
drm/xe: Record each drm client with its VM

Enable accounting of indirect client memory usage.

Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_vm.c
drivers/gpu/drm/xe/xe_vm_types.h