]> git.dujemihanovic.xyz Git - linux.git/commit
drm/xe/guc: Move GuC power control init to "post-hwconfig"
authorMichał Winiarski <michal.winiarski@intel.com>
Mon, 19 Feb 2024 13:05:29 +0000 (14:05 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 20 Feb 2024 19:13:46 +0000 (14:13 -0500)
commit8a4587ef9f952105d1d5a7ffcdee848219cdc743
tree93771b45480b73414a49e13468fed9cee1959e20
parent7606f7d0f069c0fbb033b52e898c437c3aa13f32
drm/xe/guc: Move GuC power control init to "post-hwconfig"

SLPC is not used at "hwconfig" stage. Move the initialization of data
structures used for SLPC to a later point in probe.
Also - move the xe_guc_pc_init_early to happen just prior to initial
"hwconfig" load.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219130530.1406044-3-michal.winiarski@intel.com
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_guc.c
drivers/gpu/drm/xe/xe_guc_pc.c
drivers/gpu/drm/xe/xe_guc_pc.h