]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: move disable_c6 call
authorRiana Tauro <riana.tauro@intel.com>
Thu, 6 Jun 2024 10:08:42 +0000 (15:38 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Thu, 6 Jun 2024 19:07:19 +0000 (15:07 -0400)
commit6800e63cf97bae62bca56d8e691544540d945f53
tree713434561a51d3508a04c26f114f4eb95fe3042d
parent21b708554648177a0078962c31629bce31ef5d83
drm/xe: move disable_c6 call

disable c6 called in guc_pc_fini_hw is unreachable.

GuC PC init returns earlier if skip_guc_pc is true and never
registers the finish call thus making disable_c6 unreachable.

move this call to gt idle.

v2: rebase
v3: add fixes tag (Himal)

Fixes: 975e4a3795d4 ("drm/xe: Manually setup C6 when skip_guc_pc is set")
Signed-off-by: Riana Tauro <riana.tauro@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240606100842.956072-3-riana.tauro@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_gt_idle.c
drivers/gpu/drm/xe/xe_guc_pc.c