Commit 34734ab7 authored by Matt Roper's avatar Matt Roper

drm/i915/dg2: Add Wa_16011777198

Coarse power gating for render should not be enabled on some DG2
steppings.

Bspec: 52698
Signed-off-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Reviewed-by: default avatarClint Taylor <Clinton.A.Taylor@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211116174818.2128062-4-matthew.d.roper@intel.com
parent 96b1c450
...@@ -117,10 +117,17 @@ static void gen11_rc6_enable(struct intel_rc6 *rc6) ...@@ -117,10 +117,17 @@ static void gen11_rc6_enable(struct intel_rc6 *rc6)
GEN6_RC_CTL_RC6_ENABLE | GEN6_RC_CTL_RC6_ENABLE |
GEN6_RC_CTL_EI_MODE(1); GEN6_RC_CTL_EI_MODE(1);
pg_enable = /* Wa_16011777198 - Render powergating must remain disabled */
GEN9_RENDER_PG_ENABLE | if (IS_DG2_GRAPHICS_STEP(gt->i915, G10, STEP_A0, STEP_C0) ||
GEN9_MEDIA_PG_ENABLE | IS_DG2_GRAPHICS_STEP(gt->i915, G11, STEP_A0, STEP_B0))
GEN11_MEDIA_SAMPLER_PG_ENABLE; pg_enable =
GEN9_MEDIA_PG_ENABLE |
GEN11_MEDIA_SAMPLER_PG_ENABLE;
else
pg_enable =
GEN9_RENDER_PG_ENABLE |
GEN9_MEDIA_PG_ENABLE |
GEN11_MEDIA_SAMPLER_PG_ENABLE;
if (GRAPHICS_VER(gt->i915) >= 12) { if (GRAPHICS_VER(gt->i915) >= 12) {
for (i = 0; i < I915_MAX_VCS; i++) for (i = 0; i < I915_MAX_VCS; i++)
......
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