]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/vf: Custom uC initialization
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 4 Jun 2024 21:22:29 +0000 (23:22 +0200)
committerMichal Wajdeczko <michal.wajdeczko@intel.com>
Thu, 6 Jun 2024 14:01:00 +0000 (16:01 +0200)
commitd9cf98e79ebfdeea8844c282b627d07c3512650c
tree9f41341349d26012e468cb042a83cb665bde7a88
parent05e49e0c7cb839a7c4d1ae82ceb1fd940c561370
drm/xe/vf: Custom uC initialization

VF drivers can't modify WOPCM registers nor upload firmwares to
GuC, HuC or GSC.  Modify xe_uc initialization functions to skip
those steps if running in the VF mode, or defer to a new custom
helper function that would not include those steps.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240604212231.1416-3-michal.wajdeczko@intel.com
drivers/gpu/drm/xe/xe_uc.c