diff mbox

[libdrm] intel: Add more Coffeelake PCI IDs

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

Commit Message

Anuj Phogat Jan. 10, 2018, 11:51 p.m. UTC
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
---
 intel/intel_chipset.h | 30 +++++++++++++++++++++++-------
 1 file changed, 23 insertions(+), 7 deletions(-)

Comments

Rodrigo Vivi Jan. 11, 2018, 12:50 a.m. UTC | #1
On Wed, Jan 10, 2018 at 11:51:02PM +0000, Anuj Phogat wrote:
> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>

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

> ---
>  intel/intel_chipset.h | 30 +++++++++++++++++++++++-------
>  1 file changed, 23 insertions(+), 7 deletions(-)
> 
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index d81b1646..3818e71e 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -223,15 +223,23 @@
>  
>  #define PCI_CHIP_COFFEELAKE_S_GT1_1     0x3E90
>  #define PCI_CHIP_COFFEELAKE_S_GT1_2     0x3E93
> +#define PCI_CHIP_COFFEELAKE_S_GT1_3     0x3E99
>  #define PCI_CHIP_COFFEELAKE_S_GT2_1     0x3E91
>  #define PCI_CHIP_COFFEELAKE_S_GT2_2     0x3E92
>  #define PCI_CHIP_COFFEELAKE_S_GT2_3     0x3E96
> +#define PCI_CHIP_COFFEELAKE_S_GT2_4     0x3E9A
>  #define PCI_CHIP_COFFEELAKE_H_GT2_1     0x3E9B
>  #define PCI_CHIP_COFFEELAKE_H_GT2_2     0x3E94
> -#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA5
> -#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA6
> -#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA7
> -#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA8
> +#define PCI_CHIP_COFFEELAKE_U_GT1_1     0x3EA1
> +#define PCI_CHIP_COFFEELAKE_U_GT1_2     0x3EA4
> +#define PCI_CHIP_COFFEELAKE_U_GT2_1     0x3EA0
> +#define PCI_CHIP_COFFEELAKE_U_GT2_2     0x3EA3
> +#define PCI_CHIP_COFFEELAKE_U_GT2_3     0x3EA9
> +#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA2
> +#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA5
> +#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA6
> +#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA7
> +#define PCI_CHIP_COFFEELAKE_U_GT3_5     0x3EA8
>  
>  #define PCI_CHIP_CANNONLAKE_U_GT2_0	0x5A52
>  #define PCI_CHIP_CANNONLAKE_U_GT2_1	0x5A5A
> @@ -477,17 +485,25 @@
>  
>  #define IS_CFL_S(devid)         ((devid) == PCI_CHIP_COFFEELAKE_S_GT1_1 || \
>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT1_2 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT1_3 || \
>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_1 || \
>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_2 || \
> -                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3)
> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_4)
>  
>  #define IS_CFL_H(devid)         ((devid) == PCI_CHIP_COFFEELAKE_H_GT2_1 || \
>                                   (devid) == PCI_CHIP_COFFEELAKE_H_GT2_2)
>  
> -#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
> +#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT1_1 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT1_2 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_2 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_3 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_2 || \
>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_3 || \
> -                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4)
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4 || \
> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_5)
>  
>  #define IS_COFFEELAKE(devid)   (IS_CFL_S(devid) || \
>  				IS_CFL_H(devid) || \
> -- 
> 2.13.6
>
Anuj Phogat Jan. 11, 2018, 6:20 p.m. UTC | #2
Rodrigo, Can you push it upstream for me?

Thanks
Anuj

On Wed, Jan 10, 2018 at 4:50 PM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> On Wed, Jan 10, 2018 at 11:51:02PM +0000, Anuj Phogat wrote:
>> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
>> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
>
> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>
>> ---
>>  intel/intel_chipset.h | 30 +++++++++++++++++++++++-------
>>  1 file changed, 23 insertions(+), 7 deletions(-)
>>
>> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
>> index d81b1646..3818e71e 100644
>> --- a/intel/intel_chipset.h
>> +++ b/intel/intel_chipset.h
>> @@ -223,15 +223,23 @@
>>
>>  #define PCI_CHIP_COFFEELAKE_S_GT1_1     0x3E90
>>  #define PCI_CHIP_COFFEELAKE_S_GT1_2     0x3E93
>> +#define PCI_CHIP_COFFEELAKE_S_GT1_3     0x3E99
>>  #define PCI_CHIP_COFFEELAKE_S_GT2_1     0x3E91
>>  #define PCI_CHIP_COFFEELAKE_S_GT2_2     0x3E92
>>  #define PCI_CHIP_COFFEELAKE_S_GT2_3     0x3E96
>> +#define PCI_CHIP_COFFEELAKE_S_GT2_4     0x3E9A
>>  #define PCI_CHIP_COFFEELAKE_H_GT2_1     0x3E9B
>>  #define PCI_CHIP_COFFEELAKE_H_GT2_2     0x3E94
>> -#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA5
>> -#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA6
>> -#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA7
>> -#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA8
>> +#define PCI_CHIP_COFFEELAKE_U_GT1_1     0x3EA1
>> +#define PCI_CHIP_COFFEELAKE_U_GT1_2     0x3EA4
>> +#define PCI_CHIP_COFFEELAKE_U_GT2_1     0x3EA0
>> +#define PCI_CHIP_COFFEELAKE_U_GT2_2     0x3EA3
>> +#define PCI_CHIP_COFFEELAKE_U_GT2_3     0x3EA9
>> +#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA2
>> +#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA5
>> +#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA6
>> +#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA7
>> +#define PCI_CHIP_COFFEELAKE_U_GT3_5     0x3EA8
>>
>>  #define PCI_CHIP_CANNONLAKE_U_GT2_0  0x5A52
>>  #define PCI_CHIP_CANNONLAKE_U_GT2_1  0x5A5A
>> @@ -477,17 +485,25 @@
>>
>>  #define IS_CFL_S(devid)         ((devid) == PCI_CHIP_COFFEELAKE_S_GT1_1 || \
>>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT1_2 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT1_3 || \
>>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_1 || \
>>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_2 || \
>> -                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3)
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_4)
>>
>>  #define IS_CFL_H(devid)         ((devid) == PCI_CHIP_COFFEELAKE_H_GT2_1 || \
>>                                   (devid) == PCI_CHIP_COFFEELAKE_H_GT2_2)
>>
>> -#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
>> +#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT1_1 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT1_2 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_2 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_3 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
>>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_2 || \
>>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_3 || \
>> -                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4)
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4 || \
>> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_5)
>>
>>  #define IS_COFFEELAKE(devid)   (IS_CFL_S(devid) || \
>>                               IS_CFL_H(devid) || \
>> --
>> 2.13.6
>>
Rodrigo Vivi Jan. 11, 2018, 6:31 p.m. UTC | #3
On Thu, Jan 11, 2018 at 06:20:53PM +0000, Anuj Phogat wrote:
> Rodrigo, Can you push it upstream for me?

I just pushed the libdrm.

Do I also need to push the mesa one?

Thanks,
Rodrigo.

> 
> Thanks
> Anuj
> 
> On Wed, Jan 10, 2018 at 4:50 PM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> > On Wed, Jan 10, 2018 at 11:51:02PM +0000, Anuj Phogat wrote:
> >> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
> >> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
> >> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
> >
> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
> >
> >> ---
> >>  intel/intel_chipset.h | 30 +++++++++++++++++++++++-------
> >>  1 file changed, 23 insertions(+), 7 deletions(-)
> >>
> >> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> >> index d81b1646..3818e71e 100644
> >> --- a/intel/intel_chipset.h
> >> +++ b/intel/intel_chipset.h
> >> @@ -223,15 +223,23 @@
> >>
> >>  #define PCI_CHIP_COFFEELAKE_S_GT1_1     0x3E90
> >>  #define PCI_CHIP_COFFEELAKE_S_GT1_2     0x3E93
> >> +#define PCI_CHIP_COFFEELAKE_S_GT1_3     0x3E99
> >>  #define PCI_CHIP_COFFEELAKE_S_GT2_1     0x3E91
> >>  #define PCI_CHIP_COFFEELAKE_S_GT2_2     0x3E92
> >>  #define PCI_CHIP_COFFEELAKE_S_GT2_3     0x3E96
> >> +#define PCI_CHIP_COFFEELAKE_S_GT2_4     0x3E9A
> >>  #define PCI_CHIP_COFFEELAKE_H_GT2_1     0x3E9B
> >>  #define PCI_CHIP_COFFEELAKE_H_GT2_2     0x3E94
> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA5
> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA6
> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA7
> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA8
> >> +#define PCI_CHIP_COFFEELAKE_U_GT1_1     0x3EA1
> >> +#define PCI_CHIP_COFFEELAKE_U_GT1_2     0x3EA4
> >> +#define PCI_CHIP_COFFEELAKE_U_GT2_1     0x3EA0
> >> +#define PCI_CHIP_COFFEELAKE_U_GT2_2     0x3EA3
> >> +#define PCI_CHIP_COFFEELAKE_U_GT2_3     0x3EA9
> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA2
> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA5
> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA6
> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA7
> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_5     0x3EA8
> >>
> >>  #define PCI_CHIP_CANNONLAKE_U_GT2_0  0x5A52
> >>  #define PCI_CHIP_CANNONLAKE_U_GT2_1  0x5A5A
> >> @@ -477,17 +485,25 @@
> >>
> >>  #define IS_CFL_S(devid)         ((devid) == PCI_CHIP_COFFEELAKE_S_GT1_1 || \
> >>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT1_2 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT1_3 || \
> >>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_1 || \
> >>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_2 || \
> >> -                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3)
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_4)
> >>
> >>  #define IS_CFL_H(devid)         ((devid) == PCI_CHIP_COFFEELAKE_H_GT2_1 || \
> >>                                   (devid) == PCI_CHIP_COFFEELAKE_H_GT2_2)
> >>
> >> -#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
> >> +#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT1_1 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT1_2 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_2 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_3 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
> >>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_2 || \
> >>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_3 || \
> >> -                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4)
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4 || \
> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_5)
> >>
> >>  #define IS_COFFEELAKE(devid)   (IS_CFL_S(devid) || \
> >>                               IS_CFL_H(devid) || \
> >> --
> >> 2.13.6
> >>
Anuj Phogat Jan. 11, 2018, 7:03 p.m. UTC | #4
On Thu, Jan 11, 2018 at 10:31 AM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
> On Thu, Jan 11, 2018 at 06:20:53PM +0000, Anuj Phogat wrote:
>> Rodrigo, Can you push it upstream for me?
>
> I just pushed the libdrm.
>
> Do I also need to push the mesa one?
>
No, I've pushed the mesa patch. Thanks.

> Thanks,
> Rodrigo.
>
>>
>> Thanks
>> Anuj
>>
>> On Wed, Jan 10, 2018 at 4:50 PM, Rodrigo Vivi <rodrigo.vivi@intel.com> wrote:
>> > On Wed, Jan 10, 2018 at 11:51:02PM +0000, Anuj Phogat wrote:
>> >> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> >> Cc: Anusha Srivatsa <anusha.srivatsa@intel.com>
>> >> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
>> >
>> > Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
>> >
>> >> ---
>> >>  intel/intel_chipset.h | 30 +++++++++++++++++++++++-------
>> >>  1 file changed, 23 insertions(+), 7 deletions(-)
>> >>
>> >> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
>> >> index d81b1646..3818e71e 100644
>> >> --- a/intel/intel_chipset.h
>> >> +++ b/intel/intel_chipset.h
>> >> @@ -223,15 +223,23 @@
>> >>
>> >>  #define PCI_CHIP_COFFEELAKE_S_GT1_1     0x3E90
>> >>  #define PCI_CHIP_COFFEELAKE_S_GT1_2     0x3E93
>> >> +#define PCI_CHIP_COFFEELAKE_S_GT1_3     0x3E99
>> >>  #define PCI_CHIP_COFFEELAKE_S_GT2_1     0x3E91
>> >>  #define PCI_CHIP_COFFEELAKE_S_GT2_2     0x3E92
>> >>  #define PCI_CHIP_COFFEELAKE_S_GT2_3     0x3E96
>> >> +#define PCI_CHIP_COFFEELAKE_S_GT2_4     0x3E9A
>> >>  #define PCI_CHIP_COFFEELAKE_H_GT2_1     0x3E9B
>> >>  #define PCI_CHIP_COFFEELAKE_H_GT2_2     0x3E94
>> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA5
>> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA6
>> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA7
>> >> -#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA8
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT1_1     0x3EA1
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT1_2     0x3EA4
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT2_1     0x3EA0
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT2_2     0x3EA3
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT2_3     0x3EA9
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA2
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA5
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA6
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA7
>> >> +#define PCI_CHIP_COFFEELAKE_U_GT3_5     0x3EA8
>> >>
>> >>  #define PCI_CHIP_CANNONLAKE_U_GT2_0  0x5A52
>> >>  #define PCI_CHIP_CANNONLAKE_U_GT2_1  0x5A5A
>> >> @@ -477,17 +485,25 @@
>> >>
>> >>  #define IS_CFL_S(devid)         ((devid) == PCI_CHIP_COFFEELAKE_S_GT1_1 || \
>> >>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT1_2 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT1_3 || \
>> >>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_1 || \
>> >>                                   (devid) == PCI_CHIP_COFFEELAKE_S_GT2_2 || \
>> >> -                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3)
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_4)
>> >>
>> >>  #define IS_CFL_H(devid)         ((devid) == PCI_CHIP_COFFEELAKE_H_GT2_1 || \
>> >>                                   (devid) == PCI_CHIP_COFFEELAKE_H_GT2_2)
>> >>
>> >> -#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
>> >> +#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT1_1 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT1_2 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_2 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_3 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
>> >>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_2 || \
>> >>                                   (devid) == PCI_CHIP_COFFEELAKE_U_GT3_3 || \
>> >> -                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4)
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4 || \
>> >> +                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_5)
>> >>
>> >>  #define IS_COFFEELAKE(devid)   (IS_CFL_S(devid) || \
>> >>                               IS_CFL_H(devid) || \
>> >> --
>> >> 2.13.6
>> >>
diff mbox

Patch

diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index d81b1646..3818e71e 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -223,15 +223,23 @@ 
 
 #define PCI_CHIP_COFFEELAKE_S_GT1_1     0x3E90
 #define PCI_CHIP_COFFEELAKE_S_GT1_2     0x3E93
+#define PCI_CHIP_COFFEELAKE_S_GT1_3     0x3E99
 #define PCI_CHIP_COFFEELAKE_S_GT2_1     0x3E91
 #define PCI_CHIP_COFFEELAKE_S_GT2_2     0x3E92
 #define PCI_CHIP_COFFEELAKE_S_GT2_3     0x3E96
+#define PCI_CHIP_COFFEELAKE_S_GT2_4     0x3E9A
 #define PCI_CHIP_COFFEELAKE_H_GT2_1     0x3E9B
 #define PCI_CHIP_COFFEELAKE_H_GT2_2     0x3E94
-#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA5
-#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA6
-#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA7
-#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA8
+#define PCI_CHIP_COFFEELAKE_U_GT1_1     0x3EA1
+#define PCI_CHIP_COFFEELAKE_U_GT1_2     0x3EA4
+#define PCI_CHIP_COFFEELAKE_U_GT2_1     0x3EA0
+#define PCI_CHIP_COFFEELAKE_U_GT2_2     0x3EA3
+#define PCI_CHIP_COFFEELAKE_U_GT2_3     0x3EA9
+#define PCI_CHIP_COFFEELAKE_U_GT3_1     0x3EA2
+#define PCI_CHIP_COFFEELAKE_U_GT3_2     0x3EA5
+#define PCI_CHIP_COFFEELAKE_U_GT3_3     0x3EA6
+#define PCI_CHIP_COFFEELAKE_U_GT3_4     0x3EA7
+#define PCI_CHIP_COFFEELAKE_U_GT3_5     0x3EA8
 
 #define PCI_CHIP_CANNONLAKE_U_GT2_0	0x5A52
 #define PCI_CHIP_CANNONLAKE_U_GT2_1	0x5A5A
@@ -477,17 +485,25 @@ 
 
 #define IS_CFL_S(devid)         ((devid) == PCI_CHIP_COFFEELAKE_S_GT1_1 || \
                                  (devid) == PCI_CHIP_COFFEELAKE_S_GT1_2 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT1_3 || \
                                  (devid) == PCI_CHIP_COFFEELAKE_S_GT2_1 || \
                                  (devid) == PCI_CHIP_COFFEELAKE_S_GT2_2 || \
-                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3)
+                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_3 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_S_GT2_4)
 
 #define IS_CFL_H(devid)         ((devid) == PCI_CHIP_COFFEELAKE_H_GT2_1 || \
                                  (devid) == PCI_CHIP_COFFEELAKE_H_GT2_2)
 
-#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
+#define IS_CFL_U(devid)         ((devid) == PCI_CHIP_COFFEELAKE_U_GT1_1 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT1_2 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_1 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_2 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT2_3 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_1 || \
                                  (devid) == PCI_CHIP_COFFEELAKE_U_GT3_2 || \
                                  (devid) == PCI_CHIP_COFFEELAKE_U_GT3_3 || \
-                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4)
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_4 || \
+                                 (devid) == PCI_CHIP_COFFEELAKE_U_GT3_5)
 
 #define IS_COFFEELAKE(devid)   (IS_CFL_S(devid) || \
 				IS_CFL_H(devid) || \