All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v2] drm/i915/gt: Implement WA_1406941453
@ 2020-08-05 23:29 clinton.a.taylor
  2020-08-05 23:50 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gt: Implement WA_1406941453 (rev2) Patchwork
                   ` (10 more replies)
  0 siblings, 11 replies; 18+ messages in thread
From: clinton.a.taylor @ 2020-08-05 23:29 UTC (permalink / raw)
  To: Intel-gfx

From: Clint Taylor <clinton.a.taylor@intel.com>

Enable HW Default flip for small PL.

bspec: 52890
bspec: 53508
bspec: 53273

v2: rebase to drm-tip
Reviewed-by: Matt Atwood <matthew.s.atwood@intel.com>
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com>
---
 drivers/gpu/drm/i915/gt/intel_workarounds.c | 6 ++++++
 drivers/gpu/drm/i915/i915_reg.h             | 1 +
 2 files changed, 7 insertions(+)

diff --git a/drivers/gpu/drm/i915/gt/intel_workarounds.c b/drivers/gpu/drm/i915/gt/intel_workarounds.c
index cef1c122696f..cb02813c5e92 100644
--- a/drivers/gpu/drm/i915/gt/intel_workarounds.c
+++ b/drivers/gpu/drm/i915/gt/intel_workarounds.c
@@ -639,6 +639,9 @@ static void tgl_ctx_workarounds_init(struct intel_engine_cs *engine,
 	       FF_MODE2_GS_TIMER_MASK | FF_MODE2_TDS_TIMER_MASK,
 	       FF_MODE2_GS_TIMER_224  | FF_MODE2_TDS_TIMER_128,
 	       0);
+
+	/* Wa_1406941453:gen12 */
+	WA_SET_BIT_MASKED(GEN10_SAMPLER_MODE, ENABLE_SMALLPL);
 }
 
 static void
@@ -1522,6 +1525,9 @@ static void icl_whitelist_build(struct intel_engine_cs *engine)
 		whitelist_reg_ext(w, PS_INVOCATION_COUNT,
 				  RING_FORCE_TO_NONPRIV_ACCESS_RD |
 				  RING_FORCE_TO_NONPRIV_RANGE_4);
+
+		/* Wa_1406941453:gen12 */
+		whitelist_reg(w, GEN10_SAMPLER_MODE);
 		break;
 
 	case VIDEO_DECODE_CLASS:
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
index 2b403df03404..494b2e1e358e 100644
--- a/drivers/gpu/drm/i915/i915_reg.h
+++ b/drivers/gpu/drm/i915/i915_reg.h
@@ -9314,6 +9314,7 @@ enum {
 #define   GEN11_LSN_UNSLCVC_GAFS_HALF_SF_MAXALLOC	(1 << 7)
 
 #define GEN10_SAMPLER_MODE		_MMIO(0xE18C)
+#define   ENABLE_SMALLPL			REG_BIT(15)
 #define   GEN11_SAMPLER_ENABLE_HEADLESS_MSG	REG_BIT(5)
 
 /* IVYBRIDGE DPF */
-- 
2.27.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-08-26 18:22 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 23:29 [Intel-gfx] [PATCH v2] drm/i915/gt: Implement WA_1406941453 clinton.a.taylor
2020-08-05 23:50 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915/gt: Implement WA_1406941453 (rev2) Patchwork
2020-08-06  0:09 ` [Intel-gfx] ✗ Fi.CI.BAT: failure " Patchwork
2020-08-06 17:02   ` James Ausmus
2020-08-06 17:46     ` Vudum, Lakshminarayana
2020-08-06 17:10 ` Patchwork
2020-08-06 17:30 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2020-08-07  0:27 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2020-08-12 21:53 ` [Intel-gfx] [PATCH v2] drm/i915/gt: Implement WA_1406941453 Matt Roper
2020-08-25 21:54 ` [Intel-gfx] [PATCH v3] " clinton.a.taylor
2020-08-25 22:11   ` Matt Roper
2020-08-25 22:41     ` Taylor, Clinton A
2020-08-25 22:36 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/gt: Implement WA_1406941453 (rev3) Patchwork
2020-08-26  2:57 ` [Intel-gfx] [PATCH v4] drm/i915/gt: Implement WA_1406941453 clinton.a.taylor
2020-08-26  4:34   ` Matt Roper
2020-08-26  3:42 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/gt: Implement WA_1406941453 (rev4) Patchwork
2020-08-26  5:44 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2020-08-26 18:22   ` Souza, Jose

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.