Commit 154cfae6 authored by Bruce Chang's avatar Bruce Chang Committed by Ramalingam C

drm/i915/dg2: Add Wa_22011100796

Whenever Full soft reset is required, reset all individual engines
first, and then do a full soft reset.
Signed-off-by: default avatarBruce Chang <yu.bruce.chang@intel.com>
cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: default avatarRamalingam C <ramalingam.c@intel.com>
Reviewed-by: default avatarMatthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220128185209.18077-5-ramalingam.c@intel.com
parent 2528b396
...@@ -598,6 +598,15 @@ static int gen8_reset_engines(struct intel_gt *gt, ...@@ -598,6 +598,15 @@ static int gen8_reset_engines(struct intel_gt *gt,
*/ */
} }
/*
* Wa_22011100796:dg2, whenever Full soft reset is required,
* reset all individual engines firstly, and then do a full soft reset.
*
* This is best effort, so ignore any error from the initial reset.
*/
if (IS_DG2(gt->i915) && engine_mask == ALL_ENGINES)
gen11_reset_engines(gt, gt->info.engine_mask, 0);
if (GRAPHICS_VER(gt->i915) >= 11) if (GRAPHICS_VER(gt->i915) >= 11)
ret = gen11_reset_engines(gt, engine_mask, retry); ret = gen11_reset_engines(gt, engine_mask, retry);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment