]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe/device: Remove unused xe_device::usm::num_vm_in_*
authorFrancois Dugast <francois.dugast@intel.com>
Fri, 9 Aug 2024 15:51:36 +0000 (17:51 +0200)
committerMatthew Brost <matthew.brost@intel.com>
Sun, 18 Aug 2024 01:31:59 +0000 (18:31 -0700)
commit4099cfda9dd856222d7cab6970a65896375616d5
tree48d593babefccf79ab47d3418f1f3a3c6bc7ed95
parent226d92e49a7e7a7f5a3a37a34df7c319b72009fc
drm/xe/device: Remove unused xe_device::usm::num_vm_in_*

Those counters were used to keep track of the numbers VMs in fault mode
and in non-fault mode, to determine if the whole device was in fault mode
or not. This is no longer needed so remove those variables and their
usages.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240809155156.1955925-12-francois.dugast@intel.com
drivers/gpu/drm/xe/xe_device.h
drivers/gpu/drm/xe/xe_device_types.h
drivers/gpu/drm/xe/xe_vm.c