From: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 7/7] drm/i915/icl: Add Wa_1406609255
Date: Fri, 28 Sep 2018 09:47:38 -0700 [thread overview]
Message-ID: <20180928164738.9756-7-radhakrishna.sripada@intel.com> (raw)
In-Reply-To: <20180928164738.9756-1-radhakrishna.sripada@intel.com>
Shader feature to prefetch binding tables does not support 16:6 18:8 BTP
formats. Enabling fault handling could result in hangs with faults.
Disabling demand prefetch would disable binding table prefetch.
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
---
drivers/gpu/drm/i915/i915_reg.h | 3 +++
drivers/gpu/drm/i915/intel_workarounds.c | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 4b472bc2d26d..117ae5bf647c 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -7411,6 +7411,9 @@ enum {
#define GEN9_SLICE_COMMON_ECO_CHICKEN1 _MMIO(0x731c)
#define GEN11_STATE_CACHE_REDIRECT_TO_CS (1 << 11)
+#define GEN7_SARCHKMD _MMIO(0xB000)
+#define GEN7_DISABLE_DEMAND_PREFETCH (1 << 31)
+
#define GEN7_L3SQCREG1 _MMIO(0xB010)
#define VLV_B0_WA_L3SQCREG1_VALUE 0x00D30000
diff --git a/drivers/gpu/drm/i915/intel_workarounds.c b/drivers/gpu/drm/i915/intel_workarounds.c
index 54a63c9b694f..9d5f48b98803 100644
--- a/drivers/gpu/drm/i915/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/intel_workarounds.c
@@ -909,6 +909,12 @@ static void icl_gt_workarounds_apply(struct drm_i915_private *dev_priv)
/* WaEnable32PlaneMode:icl */
I915_WRITE(GEN9_CSFE_CHICKEN1_RCS,
_MASKED_BIT_ENABLE(GEN11_ENABLE_32_PLANE_MODE));
+
+ /* Wa_1406609255:icl (pre-prod) */
+ if (IS_ICL_REVID(dev_priv, ICL_REVID_A0, ICL_REVID_C0))
+ I915_WRITE(GEN7_SARCHKMD,
+ I915_READ(GEN7_SARCHKMD) |
+ GEN7_DISABLE_DEMAND_PREFETCH);
}
void intel_gt_workarounds_apply(struct drm_i915_private *dev_priv)
--
2.9.3
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2018-09-28 16:49 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-28 16:47 [PATCH 1/7] drm/i915/icl: Add WaEnable32PlaneMode Radhakrishna Sripada
2018-09-28 16:47 ` [PATCH 2/7] drm/i915/icl: apply Display WA #1178 to fix type C dongles Radhakrishna Sripada
2018-09-28 16:47 ` [PATCH 3/7] drm/i915/icl: Implement Display WA_1405510057 Radhakrishna Sripada
2018-09-28 16:47 ` [PATCH 4/7] drm/i915/icl: WaSendPushConstantsFromMMIO Radhakrishna Sripada
2018-09-28 16:53 ` Chris Wilson
2018-10-01 10:40 ` Mika Kuoppala
2018-10-01 10:48 ` Joonas Lahtinen
2018-09-28 16:47 ` [PATCH 5/7] drm/i915/icl: WaAllowUMDToModifyHalfSliceChicken2 Radhakrishna Sripada
2018-09-28 16:53 ` Chris Wilson
2018-09-28 16:47 ` [PATCH 6/7] drm/i915/icl: WaAllowUMDToModifyHalfSliceChicken7 Radhakrishna Sripada
2018-09-28 16:47 ` Radhakrishna Sripada [this message]
2018-09-28 22:19 ` [PATCH 7/7] drm/i915/icl: Add Wa_1406609255 Anuj Phogat
2018-10-01 10:36 ` Mika Kuoppala
2018-10-01 11:05 ` Mika Kuoppala
2018-09-28 16:51 ` [PATCH 1/7] drm/i915/icl: Add WaEnable32PlaneMode Chris Wilson
2018-10-01 11:52 ` ✓ Fi.CI.BAT: success for series starting with [1/7] " Patchwork
2018-10-01 13:15 ` ✓ Fi.CI.IGT: " Patchwork
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180928164738.9756-7-radhakrishna.sripada@intel.com \
--to=radhakrishna.sripada@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.