Re: [PATCH 2/4] drm/i915/cnl: Add WaDisableReplayBufferBankArbitrationOptimization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 07/05/2017 06:02 PM, Rodrigo Vivi wrote:
WA to disable replay buffer destination buffer arbitration optimization.

Same Wa on previous platforms has a different name: WaToEnableHwFixForPushConstHWBug

Signed-off-by: Rodrigo Vivi <rodrigo.vivi@xxxxxxxxx>
Reviewed-by: Mika Kuoppala <mika.kuoppala@xxxxxxxxx>
---
  drivers/gpu/drm/i915/intel_engine_cs.c | 4 ++++
  1 file changed, 4 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c
index c520a41..bc14f0b 100644
--- a/drivers/gpu/drm/i915/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/intel_engine_cs.c
@@ -1072,6 +1072,10 @@ static int cnl_init_workarounds(struct intel_engine_cs *engine)
  	struct drm_i915_private *dev_priv = engine->i915;
  	int ret;
+ /* WaDisableReplayBufferBankArbitrationOptimization:cnl */
+	WA_SET_BIT_MASKED(COMMON_SLICE_CHICKEN2,
+			  GEN8_SBE_DISABLE_REPLAY_BUF_OPTIMIZATION);
+

This should be from B0 onwards. For A0, there is a 3D workaround (WaInsertDummyPushConstPs)

  	/* WaInPlaceDecompressionHang:cnl */
  	WA_SET_BIT(GEN9_GAMT_ECO_REG_RW_IA,
  		   GAMT_ECO_ENABLE_IN_PLACE_DECOMPRESS);

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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux