projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e587f6c
)
drm/i915/kbl: Add WaDisableFenceDestinationToSLM for A0
author
Mika Kuoppala
<
[email protected]
>
Tue, 7 Jun 2016 14:19:00 +0000
(17:19 +0300)
committer
Mika Kuoppala
<
[email protected]
>
Wed, 8 Jun 2016 13:22:44 +0000
(16:22 +0300)
Add this workaround for kbl revid A0 only.
v2: rebase
v3: carve out a non related workaround (Chris)
References: HSD#
1911714
Cc: Chris Wilson <
[email protected]
>
Signed-off-by: Mika Kuoppala <
[email protected]
>
Reviewed-by: Matthew Auld <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_ringbuffer.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_ringbuffer.c
b/drivers/gpu/drm/i915/intel_ringbuffer.c
index 02edf85f7456d25957609e77ffed1d557623e941..55d08fbbf8e3537e934cc496b148b3cc25638f61 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_ringbuffer.c
+++ b/
drivers/gpu/drm/i915/intel_ringbuffer.c
@@
-1199,6
+1199,11
@@
static int kbl_init_workarounds(struct intel_engine_cs *engine)
I915_WRITE(GEN8_GARBCNTL, (I915_READ(GEN8_GARBCNTL) |
GEN9_GAPS_TSV_CREDIT_DISABLE));
+ /* WaDisableFenceDestinationToSLM:kbl (pre-prod) */
+ if (IS_KBL_REVID(dev_priv, KBL_REVID_A0, KBL_REVID_A0))
+ WA_SET_BIT_MASKED(HDC_CHICKEN0,
+ HDC_FENCE_DEST_SLM_DISABLE);
+
return 0;
}