projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2528b39
)
drm/i915/dg2: Add Wa_22011100796
author
Bruce Chang
<yu.bruce.chang@intel.com>
Fri, 28 Jan 2022 18:52:08 +0000
(
00:22
+0530)
committer
Ramalingam C
<ramalingam.c@intel.com>
Fri, 11 Feb 2022 11:41:44 +0000
(17:11 +0530)
Whenever Full soft reset is required, reset all individual engines
first, and then do a full soft reset.
Signed-off-by: Bruce Chang <yu.bruce.chang@intel.com>
cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20220128185209.18077-5-ramalingam.c@intel.com
drivers/gpu/drm/i915/gt/intel_reset.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_reset.c
b/drivers/gpu/drm/i915/gt/intel_reset.c
index 7be0002d9d707840d5019d433e3a4a0a71f000fb..cf1f8a382c451d2dc79c9ea57527507d8373b55d 100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_reset.c
+++ b/
drivers/gpu/drm/i915/gt/intel_reset.c
@@
-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)
ret = gen11_reset_engines(gt, engine_mask, retry);
else