]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/xe: Move xe_force_wake_init_gt() inside gt initialization
authorLucas De Marchi <lucas.demarchi@intel.com>
Mon, 13 May 2024 21:37:50 +0000 (14:37 -0700)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 14 May 2024 04:21:13 +0000 (21:21 -0700)
commit45b9066ec351518657cd09599872f737ceb25f09
treef51b77dda3ee16446e5632b398c31086ffac73c3
parent65c4de2a9148385114b3ff1121143ef1af805a1a
drm/xe: Move xe_force_wake_init_gt() inside gt initialization

xe_force_wake_init_gt() is a software-only initialization and doesn't
need to be called from xe_device_probe(). Move it to initialize
together with the gt.

Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240513213751.1017791-4-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_gt.c