public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
@ 2015-03-20  9:29 Nick Hoath
  2015-03-20 17:14 ` shuang.he
  2015-04-29 14:35 ` Imre Deak
  0 siblings, 2 replies; 8+ messages in thread
From: Nick Hoath @ 2015-03-20  9:29 UTC (permalink / raw)
  To: intel-gfx

This stepping isn't listed separately in the specs, so needs confirmation.

Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
---
 drivers/gpu/drm/i915/i915_drv.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index eec271a..68fb41a 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2329,6 +2329,7 @@ struct drm_i915_cmd_table {
 #define SKL_REVID_E0		(0x4)
 
 #define BXT_REVID_A0		(0x0)
+#define BXT_REVID_A1		(0x1)
 #define BXT_REVID_B0		(0x3)
 #define BXT_REVID_C0		(0x6)
 
-- 
2.1.1

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

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-03-20  9:29 [PATCH] drm/i195/bxt: Add A1 stepping for Broxton Nick Hoath
@ 2015-03-20 17:14 ` shuang.he
  2015-03-20 19:17   ` Jesse Barnes
  2015-04-29 14:35 ` Imre Deak
  1 sibling, 1 reply; 8+ messages in thread
From: shuang.he @ 2015-03-20 17:14 UTC (permalink / raw)
  To: shuang.he, ethan.gao, intel-gfx, nicholas.hoath

Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang.he@intel.com)
Task id: 6016
-------------------------------------Summary-------------------------------------
Platform          Delta          drm-intel-nightly          Series Applied
PNV                 -2              274/274              272/274
ILK                                  303/303              303/303
SNB                                  303/303              303/303
IVB                 -2              342/342              340/342
BYT                                  287/287              287/287
HSW                                  362/362              362/362
BDW                                  308/308              308/308
-------------------------------------Detailed-------------------------------------
Platform  Test                                drm-intel-nightly          Series Applied
*PNV  igt_gem_userptr_blits_minor-sync-interruptible      PASS(2)      DMESG_WARN(1)PASS(1)
*PNV  igt_gen3_render_linear_blits      PASS(3)      CRASH(1)PASS(1)
 IVB  igt_gem_pwrite_pread_snooped-copy-performance      DMESG_WARN(1)PASS(3)      DMESG_WARN(1)PASS(1)
*IVB  igt_gem_storedw_batches_loop_secure-dispatch      PASS(3)      DMESG_WARN(1)PASS(1)
Note: You need to pay more attention to line start with '*'
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-03-20 17:14 ` shuang.he
@ 2015-03-20 19:17   ` Jesse Barnes
  2015-03-21  1:20     ` He, Shuang
  0 siblings, 1 reply; 8+ messages in thread
From: Jesse Barnes @ 2015-03-20 19:17 UTC (permalink / raw)
  To: shuang.he, ethan.gao, intel-gfx, nicholas.hoath

On 03/20/2015 10:14 AM, shuang.he@intel.com wrote:
> Tested-By: PRC QA PRTS (Patch Regression Test System Contact: shuang.he@intel.com)
> Task id: 6016
> -------------------------------------Summary-------------------------------------
> Platform          Delta          drm-intel-nightly          Series Applied
> PNV                 -2              274/274              272/274
> ILK                                  303/303              303/303
> SNB                                  303/303              303/303
> IVB                 -2              342/342              340/342
> BYT                                  287/287              287/287
> HSW                                  362/362              362/362
> BDW                                  308/308              308/308
> -------------------------------------Detailed-------------------------------------
> Platform  Test                                drm-intel-nightly          Series Applied
> *PNV  igt_gem_userptr_blits_minor-sync-interruptible      PASS(2)      DMESG_WARN(1)PASS(1)
> *PNV  igt_gen3_render_linear_blits      PASS(3)      CRASH(1)PASS(1)
>  IVB  igt_gem_pwrite_pread_snooped-copy-performance      DMESG_WARN(1)PASS(3)      DMESG_WARN(1)PASS(1)
> *IVB  igt_gem_storedw_batches_loop_secure-dispatch      PASS(3)      DMESG_WARN(1)PASS(1)
> Note: You need to pay more attention to line start with '*'

I wonder what these warnings actually are... I've been seeing the
userptr_blits tests on PNV trigger warnings in a lot of PRTS results
lately, and it must be intermittent since this patch would have no
effect on PNV.

Shuang, when do you think you'll be able to attach the dmesg snippets
from failures like these to the  msgs?  Would make things easier to
triage at least.

And do we have a bug open?  I don't see this particular issue listed in
the igt failures at bugs.fdo, but it could be a dupe with some other
warning there.

Thanks,
Jesse

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

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-03-20 19:17   ` Jesse Barnes
@ 2015-03-21  1:20     ` He, Shuang
  0 siblings, 0 replies; 8+ messages in thread
From: He, Shuang @ 2015-03-21  1:20 UTC (permalink / raw)
  To: Jesse Barnes, Gao, Ethan, intel-gfx@lists.freedesktop.org,
	Hoath, Nicholas

> -----Original Message-----
> From: Jesse Barnes [mailto:jbarnes@virtuousgeek.org]
> Sent: Saturday, March 21, 2015 3:17 AM
> To: He, Shuang; Gao, Ethan; intel-gfx@lists.freedesktop.org; Hoath, Nicholas
> Subject: Re: [Intel-gfx] [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
> 
> On 03/20/2015 10:14 AM, shuang.he@intel.com wrote:
> > Tested-By: PRC QA PRTS (Patch Regression Test System Contact:
> shuang.he@intel.com)
> > Task id: 6016
> > -------------------------------------Summary-------------------------------------
> > Platform          Delta          drm-intel-nightly          Series Applied
> > PNV                 -2              274/274              272/274
> > ILK                                  303/303              303/303
> > SNB                                  303/303              303/303
> > IVB                 -2              342/342              340/342
> > BYT                                  287/287              287/287
> > HSW                                  362/362              362/362
> > BDW                                  308/308              308/308
> > -------------------------------------Detailed-------------------------------------
> > Platform  Test                                drm-intel-nightly          Series Applied
> > *PNV  igt_gem_userptr_blits_minor-sync-interruptible      PASS(2)
> DMESG_WARN(1)PASS(1)
> > *PNV  igt_gen3_render_linear_blits      PASS(3)      CRASH(1)PASS(1)
> >  IVB  igt_gem_pwrite_pread_snooped-copy-performance
> DMESG_WARN(1)PASS(3)      DMESG_WARN(1)PASS(1)
> > *IVB  igt_gem_storedw_batches_loop_secure-dispatch      PASS(3)
> DMESG_WARN(1)PASS(1)
> > Note: You need to pay more attention to line start with '*'
> 
> I wonder what these warnings actually are... I've been seeing the
> userptr_blits tests on PNV trigger warnings in a lot of PRTS results
> lately, and it must be intermittent since this patch would have no
> effect on PNV.
> 
> Shuang, when do you think you'll be able to attach the dmesg snippets
> from failures like these to the  msgs?  Would make things easier to
> triage at least.
[He, Shuang] yeah, it makes sense, we will see how we can improve this

> 
> And do we have a bug open?  I don't see this particular issue listed in
> the igt failures at bugs.fdo, but it could be a dupe with some other
> warning there.
[He, Shuang] I'll forward this to QA guys working on kernel validation, see if they already have this tracked

Thanks
	--Shuang
> 
> Thanks,
> Jesse

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

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-03-20  9:29 [PATCH] drm/i195/bxt: Add A1 stepping for Broxton Nick Hoath
  2015-03-20 17:14 ` shuang.he
@ 2015-04-29 14:35 ` Imre Deak
  2015-05-05 14:20   ` Nick Hoath
  1 sibling, 1 reply; 8+ messages in thread
From: Imre Deak @ 2015-04-29 14:35 UTC (permalink / raw)
  To: Nick Hoath; +Cc: intel-gfx

On pe, 2015-03-20 at 09:29 +0000, Nick Hoath wrote:
> This stepping isn't listed separately in the specs, so needs confirmation.
> 
> Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> index eec271a..68fb41a 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -2329,6 +2329,7 @@ struct drm_i915_cmd_table {
>  #define SKL_REVID_E0		(0x4)
>  
>  #define BXT_REVID_A0		(0x0)
> +#define BXT_REVID_A1		(0x1)

The above mapping is for the SOC RevID, but I think for all our purposes
(WAs) we should check the GT/Display RevID. The A1 GT/Display RevID
doesn't seem to exist, only A0 is defined with all of 0,1,2 RevIDs
mapping to A0.

>  #define BXT_REVID_B0		(0x3)
>  #define BXT_REVID_C0		(0x6)
>  


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

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-04-29 14:35 ` Imre Deak
@ 2015-05-05 14:20   ` Nick Hoath
  2015-05-05 16:18     ` Imre Deak
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Hoath @ 2015-05-05 14:20 UTC (permalink / raw)
  To: Deak, Imre; +Cc: intel-gfx@lists.freedesktop.org

On 29/04/2015 15:35, Deak, Imre wrote:
> On pe, 2015-03-20 at 09:29 +0000, Nick Hoath wrote:
>> This stepping isn't listed separately in the specs, so needs confirmation.
>>
>> Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
>> ---
>>   drivers/gpu/drm/i915/i915_drv.h | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
>> index eec271a..68fb41a 100644
>> --- a/drivers/gpu/drm/i915/i915_drv.h
>> +++ b/drivers/gpu/drm/i915/i915_drv.h
>> @@ -2329,6 +2329,7 @@ struct drm_i915_cmd_table {
>>   #define SKL_REVID_E0		(0x4)
>>
>>   #define BXT_REVID_A0		(0x0)
>> +#define BXT_REVID_A1		(0x1)
>
> The above mapping is for the SOC RevID, but I think for all our purposes
> (WAs) we should check the GT/Display RevID. The A1 GT/Display RevID
> doesn't seem to exist, only A0 is defined with all of 0,1,2 RevIDs
> mapping to A0.

We use the GT Device2 Revision ID for these comparisons, which does 
change on each SoC revision. This may map to A0 GT stepping for all the 
Ax SoCs, according to the specs. However, as this is a naming convention 
that doesn't affect the code, I suggest we stick to what I have in this 
patch even if it doesn't 100% reflect what's in the specs.

>
>>   #define BXT_REVID_B0		(0x3)
>>   #define BXT_REVID_C0		(0x6)
>>
>
>

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

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-05-05 14:20   ` Nick Hoath
@ 2015-05-05 16:18     ` Imre Deak
  2015-05-06 16:00       ` Nick Hoath
  0 siblings, 1 reply; 8+ messages in thread
From: Imre Deak @ 2015-05-05 16:18 UTC (permalink / raw)
  To: Nick Hoath; +Cc: intel-gfx@lists.freedesktop.org

On ti, 2015-05-05 at 15:20 +0100, Nick Hoath wrote:
> On 29/04/2015 15:35, Deak, Imre wrote:
> > On pe, 2015-03-20 at 09:29 +0000, Nick Hoath wrote:
> >> This stepping isn't listed separately in the specs, so needs confirmation.
> >>
> >> Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
> >> ---
> >>   drivers/gpu/drm/i915/i915_drv.h | 1 +
> >>   1 file changed, 1 insertion(+)
> >>
> >> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
> >> index eec271a..68fb41a 100644
> >> --- a/drivers/gpu/drm/i915/i915_drv.h
> >> +++ b/drivers/gpu/drm/i915/i915_drv.h
> >> @@ -2329,6 +2329,7 @@ struct drm_i915_cmd_table {
> >>   #define SKL_REVID_E0		(0x4)
> >>
> >>   #define BXT_REVID_A0		(0x0)
> >> +#define BXT_REVID_A1		(0x1)
> >
> > The above mapping is for the SOC RevID, but I think for all our purposes
> > (WAs) we should check the GT/Display RevID. The A1 GT/Display RevID
> > doesn't seem to exist, only A0 is defined with all of 0,1,2 RevIDs
> > mapping to A0.
> 
> We use the GT Device2 Revision ID for these comparisons, which does 
> change on each SoC revision. This may map to A0 GT stepping for all the 
> Ax SoCs, according to the specs. However, as this is a naming convention 
> that doesn't affect the code, I suggest we stick to what I have in this 
> patch even if it doesn't 100% reflect what's in the specs.

Not sure about this, as I understand all the workarounds are marked with
the GT stepping not the SOC stepping, even though the latter is more
fine-grained. Is there any workarounds for A1? If not I'd suggest adding
this macro only when we need it.

--Imre

> >>   #define BXT_REVID_B0		(0x3)
> >>   #define BXT_REVID_C0		(0x6)
> >>
> >
> >
> 


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

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

* Re: [PATCH] drm/i195/bxt: Add A1 stepping for Broxton
  2015-05-05 16:18     ` Imre Deak
@ 2015-05-06 16:00       ` Nick Hoath
  0 siblings, 0 replies; 8+ messages in thread
From: Nick Hoath @ 2015-05-06 16:00 UTC (permalink / raw)
  To: Deak, Imre; +Cc: intel-gfx@lists.freedesktop.org

On 05/05/2015 17:18, Deak, Imre wrote:
> On ti, 2015-05-05 at 15:20 +0100, Nick Hoath wrote:
>> On 29/04/2015 15:35, Deak, Imre wrote:
>>> On pe, 2015-03-20 at 09:29 +0000, Nick Hoath wrote:
>>>> This stepping isn't listed separately in the specs, so needs confirmation.
>>>>
>>>> Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
>>>> ---
>>>>    drivers/gpu/drm/i915/i915_drv.h | 1 +
>>>>    1 file changed, 1 insertion(+)
>>>>
>>>> diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
>>>> index eec271a..68fb41a 100644
>>>> --- a/drivers/gpu/drm/i915/i915_drv.h
>>>> +++ b/drivers/gpu/drm/i915/i915_drv.h
>>>> @@ -2329,6 +2329,7 @@ struct drm_i915_cmd_table {
>>>>    #define SKL_REVID_E0		(0x4)
>>>>
>>>>    #define BXT_REVID_A0		(0x0)
>>>> +#define BXT_REVID_A1		(0x1)
>>>
>>> The above mapping is for the SOC RevID, but I think for all our purposes
>>> (WAs) we should check the GT/Display RevID. The A1 GT/Display RevID
>>> doesn't seem to exist, only A0 is defined with all of 0,1,2 RevIDs
>>> mapping to A0.
>>
>> We use the GT Device2 Revision ID for these comparisons, which does
>> change on each SoC revision. This may map to A0 GT stepping for all the
>> Ax SoCs, according to the specs. However, as this is a naming convention
>> that doesn't affect the code, I suggest we stick to what I have in this
>> patch even if it doesn't 100% reflect what's in the specs.
>
> Not sure about this, as I understand all the workarounds are marked with
> the GT stepping not the SOC stepping, even though the latter is more
> fine-grained. Is there any workarounds for A1? If not I'd suggest adding
> this macro only when we need it.


Agreed, consider this patch currently N/A.

>
> --Imre
>
>>>>    #define BXT_REVID_B0		(0x3)
>>>>    #define BXT_REVID_C0		(0x6)
>>>>
>>>
>>>
>>
>
>

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

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

end of thread, other threads:[~2015-05-06 16:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-20  9:29 [PATCH] drm/i195/bxt: Add A1 stepping for Broxton Nick Hoath
2015-03-20 17:14 ` shuang.he
2015-03-20 19:17   ` Jesse Barnes
2015-03-21  1:20     ` He, Shuang
2015-04-29 14:35 ` Imre Deak
2015-05-05 14:20   ` Nick Hoath
2015-05-05 16:18     ` Imre Deak
2015-05-06 16:00       ` Nick Hoath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox