]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/xe/gt: Use CLASS() for forcewake in xe_gt_enable_comp_1wcoh
authorShuicheng Lin <shuicheng.lin@intel.com>
Fri, 23 Jan 2026 18:04:26 +0000 (18:04 +0000)
committerAshutosh Dixit <ashutosh.dixit@intel.com>
Thu, 29 Jan 2026 02:38:58 +0000 (18:38 -0800)
commit6edeabacb71cfaadb6b406655cdbc53ed40b521c
tree1869127b272aa31e9c768cd6b31cb351bf80830b
parentd043b95983e692718922abdc6ba652322e66d318
drm/xe/gt: Use CLASS() for forcewake in xe_gt_enable_comp_1wcoh

Adopt the scoped forcewake management using CLASS(xe_force_wake, ...)
to simplify the code and ensure proper resource release.

Cc: Xin Wang <x.wang@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Reviewed-by: Xin Wang <x.wang@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
Link: https://patch.msgid.link/20260123180425.3262944-2-shuicheng.lin@intel.com
drivers/gpu/drm/xe/xe_gt.c