]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/xe: make xe_gt_idle_disable_c6() handle the forcewake internally
authorXin Wang <x.wang@intel.com>
Wed, 27 Aug 2025 00:06:32 +0000 (17:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Jan 2026 15:31:18 +0000 (16:31 +0100)
commite724d0261b7cff6d73913c118d4bdb68ebd53499
tree1cdb570c99dc4287c11e6d4d5c7c5bd1456a260f
parentf09cd209359a23f88d4f3fa3d2379d057027e53c
drm/xe: make xe_gt_idle_disable_c6() handle the forcewake internally

commit 1313351e71181a4818afeb8dfe202e4162091ef6 upstream.

Move forcewake_get() into xe_gt_idle_enable_c6() to streamline the
code and make it easier to use.

Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Xin Wang <x.wang@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://lore.kernel.org/r/20250827000633.1369890-2-x.wang@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/xe/xe_gt_idle.c
drivers/gpu/drm/xe/xe_gt_idle.h
drivers/gpu/drm/xe/xe_guc_pc.c