All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause
@ 2016-07-20 10:00 tim.gore
  2016-07-20 10:38 ` ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2) Patchwork
  2016-07-21  3:00 ` [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause Kamble, Sagar A
  0 siblings, 2 replies; 5+ messages in thread
From: tim.gore @ 2016-07-20 10:00 UTC (permalink / raw)
  To: intel-gfx

From: Tim Gore <tim.gore@intel.com>

WaC6DisallowByGfxPause is currently applied unconditionally
but is not required in all revisions.

v2: extend application of workaround to agree with w/a
database, which differs from the HSD.

References: HSD#2133391
Signed-off-by: Tim Gore <tim.gore@intel.com>
---
 drivers/gpu/drm/i915/intel_guc_loader.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c
index 605c696..96b0259 100644
--- a/drivers/gpu/drm/i915/intel_guc_loader.c
+++ b/drivers/gpu/drm/i915/intel_guc_loader.c
@@ -349,7 +349,9 @@ static int guc_ucode_xfer(struct drm_i915_private *dev_priv)
 	}
 
 	/* WaC6DisallowByGfxPause*/
-	I915_WRITE(GEN6_GFXPAUSE, 0x30FFF);
+	if (IS_SKL_REVID(dev, 0, SKL_REVID_C0) ||
+	    IS_BXT_REVID(dev, 0, BXT_REVID_B0))
+		I915_WRITE(GEN6_GFXPAUSE, 0x30FFF);
 
 	if (IS_BROXTON(dev))
 		I915_WRITE(GEN9LP_GT_PM_CONFIG, GT_DOORBELL_ENABLE);
-- 
1.9.1

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

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

* ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2)
  2016-07-20 10:00 [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause tim.gore
@ 2016-07-20 10:38 ` Patchwork
  2016-07-21 12:31   ` Gore, Tim
  2016-07-21  3:00 ` [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause Kamble, Sagar A
  1 sibling, 1 reply; 5+ messages in thread
From: Patchwork @ 2016-07-20 10:38 UTC (permalink / raw)
  To: tim.gore; +Cc: intel-gfx

== Series Details ==

Series: drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2)
URL   : https://patchwork.freedesktop.org/series/9930/
State : failure

== Summary ==

Series 9930v2 drm/i915:gen9: restrict WaC6DisallowByGfxPause
http://patchwork.freedesktop.org/api/1.0/series/9930/revisions/2/mbox

Test gem_sync:
        Subgroup basic-store-each:
                pass       -> DMESG-FAIL (ro-bdw-i7-5600u)

fi-hsw-i7-4770k  total:244  pass:216  dwarn:0   dfail:0   fail:8   skip:20 
fi-kbl-qkkr      total:244  pass:179  dwarn:25  dfail:0   fail:12  skip:28 
fi-skl-i5-6260u  total:244  pass:224  dwarn:0   dfail:0   fail:8   skip:12 
fi-skl-i7-6700k  total:107  pass:84   dwarn:0   dfail:0   fail:0   skip:22 
ro-bdw-i5-5250u  total:244  pass:219  dwarn:4   dfail:0   fail:8   skip:13 
ro-bdw-i7-5600u  total:244  pass:203  dwarn:0   dfail:1   fail:8   skip:32 
ro-bsw-n3050     total:218  pass:173  dwarn:0   dfail:0   fail:2   skip:42 
ro-byt-n2820     total:244  pass:197  dwarn:0   dfail:0   fail:9   skip:38 
ro-hsw-i3-4010u  total:244  pass:212  dwarn:0   dfail:0   fail:8   skip:24 
ro-hsw-i7-4770r  total:244  pass:212  dwarn:0   dfail:0   fail:8   skip:24 
ro-ilk-i7-620lm  total:244  pass:172  dwarn:0   dfail:0   fail:9   skip:63 
ro-ilk1-i5-650   total:239  pass:172  dwarn:0   dfail:0   fail:9   skip:58 
ro-ivb-i7-3770   total:244  pass:203  dwarn:0   dfail:0   fail:8   skip:33 
ro-skl3-i5-6260u total:244  pass:224  dwarn:0   dfail:0   fail:8   skip:12 
ro-snb-i7-2620M  total:244  pass:193  dwarn:0   dfail:0   fail:9   skip:42 
ro-bdw-i7-5557U failed to connect after reboot

Results at /archive/results/CI_IGT_test/RO_Patchwork_1540/

cafe8a2 drm-intel-nightly: 2016y-07m-20d-08h-45m-03s UTC integration manifest
ea8eae3 drm/i915:gen9: restrict WaC6DisallowByGfxPause

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

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

* Re: [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause
  2016-07-20 10:00 [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause tim.gore
  2016-07-20 10:38 ` ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2) Patchwork
@ 2016-07-21  3:00 ` Kamble, Sagar A
  1 sibling, 0 replies; 5+ messages in thread
From: Kamble, Sagar A @ 2016-07-21  3:00 UTC (permalink / raw)
  To: tim.gore, intel-gfx

Reviewed-by: Sagar Arun Kamble <sagar.a.kamble@intel.com>

On 7/20/2016 3:30 PM, tim.gore@intel.com wrote:
> From: Tim Gore <tim.gore@intel.com>
>
> WaC6DisallowByGfxPause is currently applied unconditionally
> but is not required in all revisions.
>
> v2: extend application of workaround to agree with w/a
> database, which differs from the HSD.
>
> References: HSD#2133391
> Signed-off-by: Tim Gore <tim.gore@intel.com>
> ---
>   drivers/gpu/drm/i915/intel_guc_loader.c | 4 +++-
>   1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_guc_loader.c b/drivers/gpu/drm/i915/intel_guc_loader.c
> index 605c696..96b0259 100644
> --- a/drivers/gpu/drm/i915/intel_guc_loader.c
> +++ b/drivers/gpu/drm/i915/intel_guc_loader.c
> @@ -349,7 +349,9 @@ static int guc_ucode_xfer(struct drm_i915_private *dev_priv)
>   	}
>   
>   	/* WaC6DisallowByGfxPause*/
> -	I915_WRITE(GEN6_GFXPAUSE, 0x30FFF);
> +	if (IS_SKL_REVID(dev, 0, SKL_REVID_C0) ||
> +	    IS_BXT_REVID(dev, 0, BXT_REVID_B0))
> +		I915_WRITE(GEN6_GFXPAUSE, 0x30FFF);
>   
>   	if (IS_BROXTON(dev))
>   		I915_WRITE(GEN9LP_GT_PM_CONFIG, GT_DOORBELL_ENABLE);

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

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

* Re: ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2)
  2016-07-20 10:38 ` ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2) Patchwork
@ 2016-07-21 12:31   ` Gore, Tim
  2016-07-21 13:48     ` Tvrtko Ursulin
  0 siblings, 1 reply; 5+ messages in thread
From: Gore, Tim @ 2016-07-21 12:31 UTC (permalink / raw)
  To: intel-gfx



Tim Gore 
Intel Corporation (UK) Ltd. - Co. Reg. #1134945 - Pipers Way, Swindon SN3 1RJ


> -----Original Message-----
> From: Patchwork [mailto:patchwork@emeril.freedesktop.org]
> Sent: Wednesday, July 20, 2016 11:38 AM
> To: Gore, Tim
> Cc: intel-gfx@lists.freedesktop.org
> Subject: ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict
> WaC6DisallowByGfxPause (rev2)
> 
> == Series Details ==
> 
> Series: drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2)
> URL   : https://patchwork.freedesktop.org/series/9930/
> State : failure
> 
> == Summary ==
> 
> Series 9930v2 drm/i915:gen9: restrict WaC6DisallowByGfxPause
> http://patchwork.freedesktop.org/api/1.0/series/9930/revisions/2/mbox
> 
> Test gem_sync:
>         Subgroup basic-store-each:
>                 pass       -> DMESG-FAIL (ro-bdw-i7-5600u)

See https://bugs.freedesktop.org/show_bug.cgi?id=96974
> 
> fi-hsw-i7-4770k  total:244  pass:216  dwarn:0   dfail:0   fail:8   skip:20
> fi-kbl-qkkr      total:244  pass:179  dwarn:25  dfail:0   fail:12  skip:28
> fi-skl-i5-6260u  total:244  pass:224  dwarn:0   dfail:0   fail:8   skip:12
> fi-skl-i7-6700k  total:107  pass:84   dwarn:0   dfail:0   fail:0   skip:22
> ro-bdw-i5-5250u  total:244  pass:219  dwarn:4   dfail:0   fail:8   skip:13
> ro-bdw-i7-5600u  total:244  pass:203  dwarn:0   dfail:1   fail:8   skip:32
> ro-bsw-n3050     total:218  pass:173  dwarn:0   dfail:0   fail:2   skip:42
> ro-byt-n2820     total:244  pass:197  dwarn:0   dfail:0   fail:9   skip:38
> ro-hsw-i3-4010u  total:244  pass:212  dwarn:0   dfail:0   fail:8   skip:24
> ro-hsw-i7-4770r  total:244  pass:212  dwarn:0   dfail:0   fail:8   skip:24
> ro-ilk-i7-620lm  total:244  pass:172  dwarn:0   dfail:0   fail:9   skip:63
> ro-ilk1-i5-650   total:239  pass:172  dwarn:0   dfail:0   fail:9   skip:58
> ro-ivb-i7-3770   total:244  pass:203  dwarn:0   dfail:0   fail:8   skip:33
> ro-skl3-i5-6260u total:244  pass:224  dwarn:0   dfail:0   fail:8   skip:12
> ro-snb-i7-2620M  total:244  pass:193  dwarn:0   dfail:0   fail:9   skip:42
> ro-bdw-i7-5557U failed to connect after reboot
> 
> Results at /archive/results/CI_IGT_test/RO_Patchwork_1540/
> 
> cafe8a2 drm-intel-nightly: 2016y-07m-20d-08h-45m-03s UTC integration
> manifest
> ea8eae3 drm/i915:gen9: restrict WaC6DisallowByGfxPause

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

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

* Re: ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2)
  2016-07-21 12:31   ` Gore, Tim
@ 2016-07-21 13:48     ` Tvrtko Ursulin
  0 siblings, 0 replies; 5+ messages in thread
From: Tvrtko Ursulin @ 2016-07-21 13:48 UTC (permalink / raw)
  To: Gore, Tim, intel-gfx


On 21/07/16 13:31, Gore, Tim wrote:
>> -----Original Message-----
>> From: Patchwork [mailto:patchwork@emeril.freedesktop.org]
>> Sent: Wednesday, July 20, 2016 11:38 AM
>> To: Gore, Tim
>> Cc: intel-gfx@lists.freedesktop.org
>> Subject: ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict
>> WaC6DisallowByGfxPause (rev2)
>>
>> == Series Details ==
>>
>> Series: drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2)
>> URL   : https://patchwork.freedesktop.org/series/9930/
>> State : failure
>>
>> == Summary ==
>>
>> Series 9930v2 drm/i915:gen9: restrict WaC6DisallowByGfxPause
>> http://patchwork.freedesktop.org/api/1.0/series/9930/revisions/2/mbox
>>
>> Test gem_sync:
>>          Subgroup basic-store-each:
>>                  pass       -> DMESG-FAIL (ro-bdw-i7-5600u)
>
> See https://bugs.freedesktop.org/show_bug.cgi?id=96974
>>
>> fi-hsw-i7-4770k  total:244  pass:216  dwarn:0   dfail:0   fail:8   skip:20
>> fi-kbl-qkkr      total:244  pass:179  dwarn:25  dfail:0   fail:12  skip:28
>> fi-skl-i5-6260u  total:244  pass:224  dwarn:0   dfail:0   fail:8   skip:12
>> fi-skl-i7-6700k  total:107  pass:84   dwarn:0   dfail:0   fail:0   skip:22
>> ro-bdw-i5-5250u  total:244  pass:219  dwarn:4   dfail:0   fail:8   skip:13
>> ro-bdw-i7-5600u  total:244  pass:203  dwarn:0   dfail:1   fail:8   skip:32
>> ro-bsw-n3050     total:218  pass:173  dwarn:0   dfail:0   fail:2   skip:42
>> ro-byt-n2820     total:244  pass:197  dwarn:0   dfail:0   fail:9   skip:38
>> ro-hsw-i3-4010u  total:244  pass:212  dwarn:0   dfail:0   fail:8   skip:24
>> ro-hsw-i7-4770r  total:244  pass:212  dwarn:0   dfail:0   fail:8   skip:24
>> ro-ilk-i7-620lm  total:244  pass:172  dwarn:0   dfail:0   fail:9   skip:63
>> ro-ilk1-i5-650   total:239  pass:172  dwarn:0   dfail:0   fail:9   skip:58
>> ro-ivb-i7-3770   total:244  pass:203  dwarn:0   dfail:0   fail:8   skip:33
>> ro-skl3-i5-6260u total:244  pass:224  dwarn:0   dfail:0   fail:8   skip:12
>> ro-snb-i7-2620M  total:244  pass:193  dwarn:0   dfail:0   fail:9   skip:42
>> ro-bdw-i7-5557U failed to connect after reboot
>>
>> Results at /archive/results/CI_IGT_test/RO_Patchwork_1540/
>>
>> cafe8a2 drm-intel-nightly: 2016y-07m-20d-08h-45m-03s UTC integration
>> manifest
>> ea8eae3 drm/i915:gen9: restrict WaC6DisallowByGfxPause

Merged to dinq, thanks for the patch and review.

Regards,

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

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

end of thread, other threads:[~2016-07-21 13:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-20 10:00 [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause tim.gore
2016-07-20 10:38 ` ✗ Ro.CI.BAT: failure for drm/i915:gen9: restrict WaC6DisallowByGfxPause (rev2) Patchwork
2016-07-21 12:31   ` Gore, Tim
2016-07-21 13:48     ` Tvrtko Ursulin
2016-07-21  3:00 ` [PATCH v2] drm/i915:gen9: restrict WaC6DisallowByGfxPause Kamble, Sagar A

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.