From: Mika Kuoppala Date: Thu, 6 Aug 2015 13:51:00 +0000 (+0300) Subject: drm/i915/skl WaDisableSbeCacheDispatchPortSharing X-Git-Tag: MMI-PSA29.97-13-9~7427^2~45^2~1672 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9bd9dfb4f9a1edcbb561a80d00c234fbe11dc1a6;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/i915/skl WaDisableSbeCacheDispatchPortSharing Add WaDisableSbeCacheDispatchPortSharing:skl Cc: Arun Siluvery Signed-off-by: Mika Kuoppala Reviewed-by: Arun Siluvery Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 1c14233d179f..1a10358d4c48 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -1059,6 +1059,13 @@ static int skl_init_workarounds(struct intel_engine_cs *ring) HDC_FENCE_DEST_SLM_DISABLE | HDC_BARRIER_PERFORMANCE_DISABLE); + /* WaDisableSbeCacheDispatchPortSharing:skl */ + if (INTEL_REVID(dev) <= SKL_REVID_F0) { + WA_SET_BIT_MASKED( + GEN7_HALF_SLICE_CHICKEN1, + GEN7_SBE_SS_CACHE_DISPATCH_PORT_SHARING_DISABLE); + } + return skl_tune_iz_hashing(ring); }