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

Submitted by Anuj Phogat on Sept. 11, 2017, 4:22 p.m.

Details

Message ID 20170911162248.983-2-anuj.phogat@gmail.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in libdrm - Intel

Not browsing as part of any series.

Commit Message

Anuj Phogat Sept. 11, 2017, 4:22 p.m.
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 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch hide | download patch | download mbox

diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 77a9ca6..6bd8ae2 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -198,7 +198,7 @@ 
 #define PCI_CHIP_KABYLAKE_ULT_GT2F	0x5921
 #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_GT1_1	0x590B
@@ -424,8 +424,7 @@ 
 				 (devid) == PCI_CHIP_SKYLAKE_H_GT4	|| \
 				 (devid) == PCI_CHIP_SKYLAKE_WKS_GT4)
 
-#define IS_KBL_GT1(devid)	((devid) == PCI_CHIP_KABYLAKE_DT_GT1_5	|| \
-				 (devid) == PCI_CHIP_KABYLAKE_ULT_GT1	|| \
+#define IS_KBL_GT1(devid)	((devid) == PCI_CHIP_KABYLAKE_ULT_GT1	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_DT_GT1	|| \
 				 (devid) == PCI_CHIP_KABYLAKE_HALO_GT1_1)
 
@@ -433,6 +432,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_WKS_GT2)
 

Comments

Any comments on this one. Sent out v2 after dropping
[PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids

On Mon, Sep 11, 2017 at 9:22 AM, Anuj Phogat <anuj.phogat@gmail.com> 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>
> ---
>  intel/intel_chipset.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 77a9ca6..6bd8ae2 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -198,7 +198,7 @@
>  #define PCI_CHIP_KABYLAKE_ULT_GT2F     0x5921
>  #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_GT1_1   0x590B
> @@ -424,8 +424,7 @@
>                                  (devid) == PCI_CHIP_SKYLAKE_H_GT4      || \
>                                  (devid) == PCI_CHIP_SKYLAKE_WKS_GT4)
>
> -#define IS_KBL_GT1(devid)      ((devid) == PCI_CHIP_KABYLAKE_DT_GT1_5  || \
> -                                (devid) == PCI_CHIP_KABYLAKE_ULT_GT1   || \
> +#define IS_KBL_GT1(devid)      ((devid) == PCI_CHIP_KABYLAKE_ULT_GT1   || \
>                                  (devid) == PCI_CHIP_KABYLAKE_DT_GT1    || \
>                                  (devid) == PCI_CHIP_KABYLAKE_HALO_GT1_1)
>
> @@ -433,6 +432,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_WKS_GT2)
>
> --
> 2.9.4
>
On Wed, Sep 20, 2017 at 12:13 PM, Anuj Phogat <anuj.phogat@gmail.com> wrote:
> Any comments on this one. Sent out v2 after dropping
> [PATCH 1/2] drm/i915/kbl: Remove unused Kabylake pci ids
Correction. Dropped patch for libdrm is:
[PATCH libdrm 1/2] intel: Remove unused Kabylake pci ids

>
> On Mon, Sep 11, 2017 at 9:22 AM, Anuj Phogat <anuj.phogat@gmail.com> 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>
>> ---
>>  intel/intel_chipset.h | 6 +++---
>>  1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
>> index 77a9ca6..6bd8ae2 100644
>> --- a/intel/intel_chipset.h
>> +++ b/intel/intel_chipset.h
>> @@ -198,7 +198,7 @@
>>  #define PCI_CHIP_KABYLAKE_ULT_GT2F     0x5921
>>  #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_GT1_1   0x590B
>> @@ -424,8 +424,7 @@
>>                                  (devid) == PCI_CHIP_SKYLAKE_H_GT4      || \
>>                                  (devid) == PCI_CHIP_SKYLAKE_WKS_GT4)
>>
>> -#define IS_KBL_GT1(devid)      ((devid) == PCI_CHIP_KABYLAKE_DT_GT1_5  || \
>> -                                (devid) == PCI_CHIP_KABYLAKE_ULT_GT1   || \
>> +#define IS_KBL_GT1(devid)      ((devid) == PCI_CHIP_KABYLAKE_ULT_GT1   || \
>>                                  (devid) == PCI_CHIP_KABYLAKE_DT_GT1    || \
>>                                  (devid) == PCI_CHIP_KABYLAKE_HALO_GT1_1)
>>
>> @@ -433,6 +432,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_WKS_GT2)
>>
>> --
>> 2.9.4
>>