diff mbox

[1/2] intel: Add SKL GT4 PCI IDs

Message ID 1445622994-28750-1-git-send-email-benjamin.widawsky@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ben Widawsky Oct. 23, 2015, 5:56 p.m. UTC
Cc: Kristian Høgsberg <krh@bitplanet.net>
Cc: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
---
 intel/intel_chipset.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

Comments

Jordan Justen Nov. 3, 2015, 6:42 p.m. UTC | #1
Series Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

For the 2de4e8fdbae1e1909ce35f8ba15608a124686fb0 version on your drm
gt4 branch.

On 2015-10-23 10:56:33, Ben Widawsky wrote:
> Cc: Kristian Høgsberg <krh@bitplanet.net>
> Cc: Damien Lespiau <damien.lespiau@intel.com>
> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com>
> ---
>  intel/intel_chipset.h | 12 +++++++++++-
>  1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 253ea71..6c8dc73 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -180,6 +180,10 @@
>  #define PCI_CHIP_SKYLAKE_SRV_GT3       0x192A
>  #define PCI_CHIP_SKYLAKE_SRV_GT1       0x190A
>  #define PCI_CHIP_SKYLAKE_WKS_GT2       0x191D
> +#define PCI_CHIP_SKYLAKE_DT_GT4                0x1932
> +#define PCI_CHIP_SKYLAKE_SRV_GT4       0x193A
> +#define PCI_CHIP_SKYLAKE_H_GT4         0x193B
> +#define PCI_CHIP_SKYLAKE_WKS_GT4       0x193D
>  
>  #define PCI_CHIP_BROXTON_0             0x0A84
>  #define PCI_CHIP_BROXTON_1             0x1A84
> @@ -362,9 +366,15 @@
>                                  (devid) == PCI_CHIP_SKYLAKE_HALO_GT3   || \
>                                  (devid) == PCI_CHIP_SKYLAKE_SRV_GT3)
>  
> +#define IS_SKL_GT4(devid)      ((devid) == PCI_CHIP_SKYLAKE_DT_GT4     || \
> +                                (devid) == PCI_CHIP_SKYLAKE_SRV_GT4    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_H_GT4      || \
> +                                (devid) == PCI_CHIP_SKYLAKE_WKS_GT4)
> +
>  #define IS_SKYLAKE(devid)      (IS_SKL_GT1(devid) || \
>                                  IS_SKL_GT2(devid) || \
> -                                IS_SKL_GT3(devid))
> +                                IS_SKL_GT3(devid) || \
> +                                IS_SKL_GT4(devid))
>  
>  #define IS_BROXTON(devid)      ((devid) == PCI_CHIP_BROXTON_0  || \
>                                  (devid) == PCI_CHIP_BROXTON_1  || \
> -- 
> 2.6.1
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
diff mbox

Patch

diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
index 253ea71..6c8dc73 100644
--- a/intel/intel_chipset.h
+++ b/intel/intel_chipset.h
@@ -180,6 +180,10 @@ 
 #define PCI_CHIP_SKYLAKE_SRV_GT3	0x192A
 #define PCI_CHIP_SKYLAKE_SRV_GT1	0x190A
 #define PCI_CHIP_SKYLAKE_WKS_GT2 	0x191D
+#define PCI_CHIP_SKYLAKE_DT_GT4		0x1932
+#define PCI_CHIP_SKYLAKE_SRV_GT4	0x193A
+#define PCI_CHIP_SKYLAKE_H_GT4		0x193B
+#define PCI_CHIP_SKYLAKE_WKS_GT4	0x193D
 
 #define PCI_CHIP_BROXTON_0		0x0A84
 #define PCI_CHIP_BROXTON_1		0x1A84
@@ -362,9 +366,15 @@ 
 				 (devid) == PCI_CHIP_SKYLAKE_HALO_GT3	|| \
 				 (devid) == PCI_CHIP_SKYLAKE_SRV_GT3)
 
+#define IS_SKL_GT4(devid)	((devid) == PCI_CHIP_SKYLAKE_DT_GT4	|| \
+				 (devid) == PCI_CHIP_SKYLAKE_SRV_GT4	|| \
+				 (devid) == PCI_CHIP_SKYLAKE_H_GT4	|| \
+				 (devid) == PCI_CHIP_SKYLAKE_WKS_GT4)
+
 #define IS_SKYLAKE(devid)	(IS_SKL_GT1(devid) || \
 				 IS_SKL_GT2(devid) || \
-				 IS_SKL_GT3(devid))
+				 IS_SKL_GT3(devid) || \
+				 IS_SKL_GT4(devid))
 
 #define IS_BROXTON(devid)	((devid) == PCI_CHIP_BROXTON_0	|| \
 				 (devid) == PCI_CHIP_BROXTON_1	|| \