diff options
author | Anuj Phogat <anuj.phogat@gmail.com> | 2018-10-04 14:29:39 -0400 |
---|---|---|
committer | Mika Kuoppala <mika.kuoppala@linux.intel.com> | 2018-10-09 03:02:03 -0400 |
commit | 71ffd49cc9b9da5d9e97b5153ee1fe33dfd61a43 (patch) | |
tree | 23331d0619c6b5ba8c4e213012fbf984699ab222 /drivers/gpu/drm/i915/intel_workarounds.c | |
parent | 0c7d2aedf51b0a9f728ec6e921eaa8f82a47db91 (diff) |
drm/i915/icl:Add Wa_1606682166
Incorrect TDL's SSP address shift in SARB for 16:6 & 18:8 modes.
Disable the Sampler state prefetch functionality in the SARB by
programming 0xB000[30] to '1'. This is to be done at boot time
and the feature must remain disabled permanently.
Fixes flaky tex-mip-level-selection* piglit tests with Mesa i965
driver.
Cc: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Signed-off-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181004182939.7668-6-radhakrishna.sripada@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_workarounds.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_workarounds.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_workarounds.c b/drivers/gpu/drm/i915/intel_workarounds.c index b298f53c99d4..e4136590fed9 100644 --- a/drivers/gpu/drm/i915/intel_workarounds.c +++ b/drivers/gpu/drm/i915/intel_workarounds.c | |||
@@ -910,7 +910,8 @@ static void icl_gt_workarounds_apply(struct drm_i915_private *dev_priv) | |||
910 | if (IS_ICL_REVID(dev_priv, ICL_REVID_A0, ICL_REVID_B0)) | 910 | if (IS_ICL_REVID(dev_priv, ICL_REVID_A0, ICL_REVID_B0)) |
911 | I915_WRITE(GEN7_SARCHKMD, | 911 | I915_WRITE(GEN7_SARCHKMD, |
912 | I915_READ(GEN7_SARCHKMD) | | 912 | I915_READ(GEN7_SARCHKMD) | |
913 | GEN7_DISABLE_DEMAND_PREFETCH); | 913 | GEN7_DISABLE_DEMAND_PREFETCH | |
914 | GEN7_DISABLE_SAMPLER_PREFETCH); | ||
914 | } | 915 | } |
915 | 916 | ||
916 | void intel_gt_workarounds_apply(struct drm_i915_private *dev_priv) | 917 | void intel_gt_workarounds_apply(struct drm_i915_private *dev_priv) |