]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/xe/debugfs: Use scope-based runtime PM
authorMatt Roper <matthew.d.roper@intel.com>
Tue, 18 Nov 2025 16:44:06 +0000 (08:44 -0800)
committerMatt Roper <matthew.d.roper@intel.com>
Wed, 19 Nov 2025 19:58:58 +0000 (11:58 -0800)
commit423fb66fac7dbb5ee2b26c40e0d21c0ffb0d7533
treeb4e503699ad6eb4f21ba06a785a7ced310294fde
parentf50c11ba35da84450b3206b50618ecb6482968dc
drm/xe/debugfs: Use scope-based runtime PM

Switch the debugfs code to use scope-based runtime PM where possible,
for consistency with other parts of the driver.

v2:
 - Drop unnecessary 'ret' variables.  (Gustavo)

Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patch.msgid.link/20251118164338.3572146-56-matthew.d.roper@intel.com
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
drivers/gpu/drm/xe/xe_debugfs.c
drivers/gpu/drm/xe/xe_gsc_debugfs.c
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c
drivers/gpu/drm/xe/xe_guc_debugfs.c
drivers/gpu/drm/xe/xe_huc_debugfs.c
drivers/gpu/drm/xe/xe_tile_debugfs.c