Skip to contentSkip to conversation

drm/i915:gen9: implement WaMtpRenderPowerGatingBug

PATCH New [email protected] 2 participants 2 messages Jun 20, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm/i915:gen9: implement WaMtpRenderPowerGatingBug

From: Tim Gore <[email protected]>

This patch applies WaMtpRenderPowerGatingBug which overcomes a hang during mid thread pre-emption when running OCL test: test_allocations64.exe single 5 all.

v2: Fix build break due to some git fail on my part
Fix camel case variable names (Dave Gordon) Only apply to G0 stepping (Chris Harris)

---
 drivers/gpu/drm/i915/i915_drv.h  |  1 +
 drivers/gpu/drm/i915/i915_reg.h  |  5 ++++
 drivers/gpu/drm/i915/intel_lrc.c | 57 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 63 insertions(+)
drivers/gpu/drm/i915/i915_drv.h +1 -0
index 25ebe46..c1f2d66 100644
@@ -2717,6 +2717,7 @@ struct drm_i915_cmd_table {
 #define SKL_REVID_D0		0x3
 #define SKL_REVID_E0		0x4
 #define SKL_REVID_F0		0x5
+#define SKL_REVID_G0		0x6
 
 #define IS_SKL_REVID(p, since, until) (IS_SKYLAKE(p) && IS_REVID(p, since, until))
 
drivers/gpu/drm/i915/i915_reg.h +5 -0
index c6bfbf8..a14e5a4 100644
@@ -223,6 +223,11 @@ static inline bool i915_mmio_reg_valid(i915_reg_t reg)
 #define GEN8_CONFIG0			_MMIO(0xD00)
 #define  GEN9_DEFAULT_FIXES		(1 << 3 | 1 << 2 | 1 << 1)
 
+/* Slice GateWay mmio offset and related info*/
+#define GEN9_GW_DEST			_MMIO(0xE220)
+#define   GEN9_GW_DATA_PAIRS		32
+#define   GEN9_GW_PER_SLICE		3
+
 #define GAC_ECO_BITS			_MMIO(0x14090)
 #define   ECOBITS_SNB_BIT		(1<<13)
 #define   ECOBITS_PPGTT_CACHE64B	(3<<8)
drivers/gpu/drm/i915/intel_lrc.c +57 -0

69 lines not on this page · raw message

Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

✓ Ro.CI.BAT: success for drm/i915:gen9: implement WaMtpRenderPowerGatingBug (rev2)

== Series Details ==

== Series Details ==

Series: drm/i915:gen9: implement WaMtpRenderPowerGatingBug (rev2)
URL : https://patchwork.freedesktop.org/series/8792/
State : success

== Summary ==

Series 8792v2 drm/i915:gen9: implement WaMtpRenderPowerGatingBug
http://patchwork.freedesktop.org/api/1.0/series/8792/revisions/2/mbox

ro-bdw-i5-5250u  total:223  pass:20   dwarn:0   dfail:0   fail:0   skip:203
ro-bdw-i7-5557U  total:223  pass:20   dwarn:0   dfail:0   fail:0   skip:203
ro-hsw-i3-4010u  total:223  pass:18   dwarn:0   dfail:0   fail:0   skip:205
ro-hsw-i7-4770r  total:223  pass:18   dwarn:0   dfail:0   fail:0   skip:205
ro-ilk-i7-620lm  total:223  pass:7    dwarn:0   dfail:0   fail:0   skip:216
ro-ivb-i7-3770   total:223  pass:17   dwarn:0   dfail:0   fail:0   skip:206

ro-bdw-i7-5600u failed to connect after reboot
ro-bsw-n3050 failed to connect after reboot
ro-byt-n2820 failed to connect after reboot
ro-ilk1-i5-650 failed to connect after reboot
ro-ivb2-i7-3770 failed to connect after reboot
ro-skl3-i5-6260u failed to connect after reboot
ro-snb-i7-2620M failed to connect after reboot

Results at /archive/results/CI_IGT_test/RO_Patchwork_1237/

3496603 drm-intel-nightly: 2016y-06m-20d-12h-42m-56s UTC integration manifest c175518 drm/i915:gen9: implement WaMtpRenderPowerGatingBug

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx