drm/xe/mmio: grab mem_access in xe_mmio_ioctl
authorMatthew Auld <matthew.auld@intel.com>
Wed, 19 Jul 2023 08:38:07 +0000 (09:38 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:37:36 +0000 (11:37 -0500)
commit7da1d76ff647cc08d9400562a75a92e41ba6d7bc
tree16307774504fe2b6df5dd6df84e6e42b964f7fb9
parent2d3ab1fa3195d2b0291625fcd0062796aaf15794
drm/xe/mmio: grab mem_access in xe_mmio_ioctl

Any kind of device memory access should first ensure the device is not
suspended, mmio included.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_mmio.c