diff mbox

[libdrm,V2,2/2] intel: Change a KBL pci id to GT2 from GT1.5

Message ID 20170920191103.7470-1-anuj.phogat@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anuj Phogat Sept. 20, 2017, 7:11 p.m. UTC
See Mesa commit 9c588ff

Cc: Matt Turner <mattst88@gmail.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
---
 intel/intel_chipset.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Rodrigo Vivi Sept. 20, 2017, 9:35 p.m. UTC | #1
On Wed, Sep 20, 2017 at 07:11:03PM +0000, Anuj Phogat wrote:
> See Mesa commit 9c588ff
> 
> Cc: Matt Turner <mattst88@gmail.com>
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>

> ---
>  intel/intel_chipset.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 3ff59ada..d81b1646 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -202,7 +202,7 @@
>  #define PCI_CHIP_KABYLAKE_ULX_GT1	0x590E
>  #define PCI_CHIP_KABYLAKE_ULX_GT2	0x591E
>  #define PCI_CHIP_KABYLAKE_DT_GT2	0x5912
> -#define PCI_CHIP_KABYLAKE_DT_GT1_5	0x5917
> +#define PCI_CHIP_KABYLAKE_M_GT2		0x5917
>  #define PCI_CHIP_KABYLAKE_DT_GT1	0x5902
>  #define PCI_CHIP_KABYLAKE_HALO_GT2	0x591B
>  #define PCI_CHIP_KABYLAKE_HALO_GT4	0x593B
> @@ -434,7 +434,6 @@
>  
>  #define IS_KBL_GT1(devid)	((devid) == PCI_CHIP_KABYLAKE_ULT_GT1_5	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT1_5	|| \
> -				 (devid) == PCI_CHIP_KABYLAKE_DT_GT1_5	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT1	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT1	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_DT_GT1	|| \
> @@ -446,6 +445,7 @@
>  				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT2F	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT2	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_DT_GT2	|| \
> +				 (devid) == PCI_CHIP_KABYLAKE_M_GT2	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_HALO_GT2	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_SRV_GT2	|| \
>  				 (devid) == PCI_CHIP_KABYLAKE_WKS_GT2)
> -- 
> 2.13.5
>
Anuj Phogat Sept. 21, 2017, 8:42 p.m. UTC | #2
On Wed, Sep 20, 2017 at 2:35 PM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> On Wed, Sep 20, 2017 at 07:11:03PM +0000, Anuj Phogat wrote:
>> See Mesa commit 9c588ff
>>
>> Cc: Matt Turner <mattst88@gmail.com>
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
Rodrigo, I don't have push permissions. Can you push it for me?
>> ---
>>  intel/intel_chipset.h | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
>> index 3ff59ada..d81b1646 100644
>> --- a/intel/intel_chipset.h
>> +++ b/intel/intel_chipset.h
>> @@ -202,7 +202,7 @@
>>  #define PCI_CHIP_KABYLAKE_ULX_GT1    0x590E
>>  #define PCI_CHIP_KABYLAKE_ULX_GT2    0x591E
>>  #define PCI_CHIP_KABYLAKE_DT_GT2     0x5912
>> -#define PCI_CHIP_KABYLAKE_DT_GT1_5   0x5917
>> +#define PCI_CHIP_KABYLAKE_M_GT2              0x5917
>>  #define PCI_CHIP_KABYLAKE_DT_GT1     0x5902
>>  #define PCI_CHIP_KABYLAKE_HALO_GT2   0x591B
>>  #define PCI_CHIP_KABYLAKE_HALO_GT4   0x593B
>> @@ -434,7 +434,6 @@
>>
>>  #define IS_KBL_GT1(devid)    ((devid) == PCI_CHIP_KABYLAKE_ULT_GT1_5 || \
>>                                (devid) == PCI_CHIP_KABYLAKE_ULX_GT1_5 || \
>> -                              (devid) == PCI_CHIP_KABYLAKE_DT_GT1_5  || \
>>                                (devid) == PCI_CHIP_KABYLAKE_ULT_GT1   || \
>>                                (devid) == PCI_CHIP_KABYLAKE_ULX_GT1   || \
>>                                (devid) == PCI_CHIP_KABYLAKE_DT_GT1    || \
>> @@ -446,6 +445,7 @@
>>                                (devid) == PCI_CHIP_KABYLAKE_ULT_GT2F  || \
>>                                (devid) == PCI_CHIP_KABYLAKE_ULX_GT2   || \
>>                                (devid) == PCI_CHIP_KABYLAKE_DT_GT2    || \
>> +                              (devid) == PCI_CHIP_KABYLAKE_M_GT2     || \
>>                                (devid) == PCI_CHIP_KABYLAKE_HALO_GT2  || \
>>                                (devid) == PCI_CHIP_KABYLAKE_SRV_GT2   || \
>>                                (devid) == PCI_CHIP_KABYLAKE_WKS_GT2)
>> --
>> 2.13.5
>>
Rodrigo Vivi Sept. 21, 2017, 9:42 p.m. UTC | #3
On Thu, Sep 21, 2017 at 08:42:59PM +0000, Anuj Phogat wrote:
> On Wed, Sep 20, 2017 at 2:35 PM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> > On Wed, Sep 20, 2017 at 07:11:03PM +0000, Anuj Phogat wrote:
> >> See Mesa commit 9c588ff
> >>
> >> Cc: Matt Turner <mattst88@gmail.com>
> >> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> >> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
> >
> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> >
> Rodrigo, I don't have push permissions. Can you push it for me?

pushed. thanks for the patch.

> >> ---
> >>  intel/intel_chipset.h | 4 ++--
> >>  1 file changed, 2 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> >> index 3ff59ada..d81b1646 100644
> >> --- a/intel/intel_chipset.h
> >> +++ b/intel/intel_chipset.h
> >> @@ -202,7 +202,7 @@
> >>  #define PCI_CHIP_KABYLAKE_ULX_GT1    0x590E
> >>  #define PCI_CHIP_KABYLAKE_ULX_GT2    0x591E
> >>  #define PCI_CHIP_KABYLAKE_DT_GT2     0x5912
> >> -#define PCI_CHIP_KABYLAKE_DT_GT1_5   0x5917
> >> +#define PCI_CHIP_KABYLAKE_M_GT2              0x5917
> >>  #define PCI_CHIP_KABYLAKE_DT_GT1     0x5902
> >>  #define PCI_CHIP_KABYLAKE_HALO_GT2   0x591B
> >>  #define PCI_CHIP_KABYLAKE_HALO_GT4   0x593B
> >> @@ -434,7 +434,6 @@
> >>
> >>  #define IS_KBL_GT1(devid)    ((devid) == PCI_CHIP_KABYLAKE_ULT_GT1_5 || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_ULX_GT1_5 || \
> >> -                              (devid) == PCI_CHIP_KABYLAKE_DT_GT1_5  || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_ULT_GT1   || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_ULX_GT1   || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_DT_GT1    || \
> >> @@ -446,6 +445,7 @@
> >>                                (devid) == PCI_CHIP_KABYLAKE_ULT_GT2F  || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_ULX_GT2   || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_DT_GT2    || \
> >> +                              (devid) == PCI_CHIP_KABYLAKE_M_GT2     || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_HALO_GT2  || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_SRV_GT2   || \
> >>                                (devid) == PCI_CHIP_KABYLAKE_WKS_GT2)
> >> --
> >> 2.13.5
> >>
diff mbox

Patch

diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 3ff59ada..d81b1646 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -202,7 +202,7 @@ 
 #define PCI_CHIP_KABYLAKE_ULX_GT1	0x590E
 #define PCI_CHIP_KABYLAKE_ULX_GT2	0x591E
 #define PCI_CHIP_KABYLAKE_DT_GT2	0x5912
-#define PCI_CHIP_KABYLAKE_DT_GT1_5	0x5917
+#define PCI_CHIP_KABYLAKE_M_GT2		0x5917
 #define PCI_CHIP_KABYLAKE_DT_GT1	0x5902
 #define PCI_CHIP_KABYLAKE_HALO_GT2	0x591B
 #define PCI_CHIP_KABYLAKE_HALO_GT4	0x593B
@@ -434,7 +434,6 @@ 
 
 #define IS_KBL_GT1(devid)	((devid) == PCI_CHIP_KABYLAKE_ULT_GT1_5	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT1_5	|| \
-				 (devid) == PCI_CHIP_KABYLAKE_DT_GT1_5	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT1	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT1	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_DT_GT1	|| \
@@ -446,6 +445,7 @@ 
 				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT2F	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_ULX_GT2	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_DT_GT2	|| \
+				 (devid) == PCI_CHIP_KABYLAKE_M_GT2	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_HALO_GT2	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_SRV_GT2	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_WKS_GT2)