]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 13 Jun 2024 10:35:13 +0000 (12:35 +0200)
commit2470b141bfae2b9695b5b6823e3b978b22d33dde
treed08a4a43a132188badc67c38edf11a8ed6a7bd01
parentb5e3a9b83f352a737b77a01734a6661d1130ed49
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>
(cherry picked from commit 6800e63cf97bae62bca56d8e691544540d945f53)
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
drivers/gpu/drm/xe/xe_gt_idle.c
drivers/gpu/drm/xe/xe_guc_pc.c