mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
drm/xe/vf: Skip engine ring enabling if VF
All engines will be correctly initialized by the PF driver. Moreover, VF drivers can't access related engine registers. 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/20240619214557.905-9-michal.wajdeczko@intel.com
This commit is contained in:
parent
ef3fcfe063
commit
7875fe7c24
@ -547,7 +547,8 @@ static int hw_engine_init(struct xe_gt *gt, struct xe_hw_engine *hwe,
|
||||
if (hwe->class == XE_ENGINE_CLASS_OTHER)
|
||||
hwe->irq_handler = xe_gsc_hwe_irq_handler;
|
||||
|
||||
xe_hw_engine_enable_ring(hwe);
|
||||
if (!IS_SRIOV_VF(xe))
|
||||
xe_hw_engine_enable_ring(hwe);
|
||||
}
|
||||
|
||||
/* We reserve the highest BCS instance for USM */
|
||||
|
Loading…
Reference in New Issue
Block a user