drm/xe/debugfs: grab mem_access around forcewake
authorMatthew Auld <matthew.auld@intel.com>
Wed, 19 Jul 2023 08:38:05 +0000 (09:38 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 21 Dec 2023 16:37:35 +0000 (11:37 -0500)
commit6bfbd0c589bb89581bb89d2776924c3853296cfc
treed74f4f1d7593188cb98dfe381a4d2f8a7b768c8c
parent2d30332a5ec004effe24d669003bf94e7f167387
drm/xe/debugfs: grab mem_access around forcewake

We need keep the device awake when performing any kind of mmio operation.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/279
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_debugfs.c