[Intel-gfx] [PATCH libdrm 1/3] intel/skl: Add SKL PCI ids

Thomas Wood thomas.wood at intel.com
Tue Sep 30 12:19:37 CEST 2014


On 26 September 2014 14:19, Damien Lespiau <damien.lespiau at intel.com> wrote:
> v2: Add more PCI IDs (Michael H. Nguyen)
> v3: Synchronize one more with the kernel PCI IDs (Damien)
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> Signed-off-by: Ben Widawsky <benjamin.widawsky at intel.com>
> Signed-off-by: Michael H. Nguyen <michael.h.nguyen at intel.com>

Reviewed-by: Thomas Wood <thomas.wood at intel.com>

> ---
>  intel/intel_chipset.h | 43 ++++++++++++++++++++++++++++++++++++++++++-
>  1 file changed, 42 insertions(+), 1 deletion(-)
>
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index 6f9bfad..e22a867 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -165,6 +165,22 @@
>  #define PCI_CHIP_CHERRYVIEW_2          0x22b2
>  #define PCI_CHIP_CHERRYVIEW_3          0x22b3
>
> +#define PCI_CHIP_SKYLAKE_ULT_GT2       0x1916
> +#define PCI_CHIP_SKYLAKE_ULT_GT1       0x1906
> +#define PCI_CHIP_SKYLAKE_ULT_GT3       0x1926
> +#define PCI_CHIP_SKYLAKE_ULT_GT2F      0x1921
> +#define PCI_CHIP_SKYLAKE_ULX_GT1       0x190E
> +#define PCI_CHIP_SKYLAKE_ULX_GT2       0x191E
> +#define PCI_CHIP_SKYLAKE_DT_GT2                0x1912
> +#define PCI_CHIP_SKYLAKE_DT_GT1                0x1902
> +#define PCI_CHIP_SKYLAKE_HALO_GT2      0x191B
> +#define PCI_CHIP_SKYLAKE_HALO_GT3      0x192B
> +#define PCI_CHIP_SKYLAKE_HALO_GT1      0x190B
> +#define PCI_CHIP_SKYLAKE_SRV_GT2       0x191A
> +#define PCI_CHIP_SKYLAKE_SRV_GT3       0x192A
> +#define PCI_CHIP_SKYLAKE_SRV_GT1       0x190A
> +#define PCI_CHIP_SKYLAKE_WKS_GT2       0x191D
> +
>  #define IS_MOBILE(devid)       ((devid) == PCI_CHIP_I855_GM || \
>                                  (devid) == PCI_CHIP_I915_GM || \
>                                  (devid) == PCI_CHIP_I945_GM || \
> @@ -324,12 +340,37 @@
>  #define IS_GEN8(devid)         (IS_BROADWELL(devid) || \
>                                  IS_CHERRYVIEW(devid))
>
> +#define IS_SKL_GT1(devid)      ((devid) == PCI_CHIP_SKYLAKE_ULT_GT1    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_ULX_GT1    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_DT_GT1     || \
> +                                (devid) == PCI_CHIP_SKYLAKE_HALO_GT1   || \
> +                                (devid) == PCI_CHIP_SKYLAKE_SRV_GT1)
> +
> +#define IS_SKL_GT2(devid)      ((devid) == PCI_CHIP_SKYLAKE_ULT_GT2    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_ULT_GT2F   || \
> +                                (devid) == PCI_CHIP_SKYLAKE_ULX_GT2    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_DT_GT2     || \
> +                                (devid) == PCI_CHIP_SKYLAKE_HALO_GT2   || \
> +                                (devid) == PCI_CHIP_SKYLAKE_SRV_GT2    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_WKS_GT2)
> +
> +#define IS_SKL_GT3(devid)      ((devid) == PCI_CHIP_SKYLAKE_ULT_GT3    || \
> +                                (devid) == PCI_CHIP_SKYLAKE_HALO_GT3   || \
> +                                (devid) == PCI_CHIP_SKYLAKE_SRV_GT3)
> +
> +#define IS_SKYLAKE(devid)      (IS_SKL_GT1(devid) || \
> +                                IS_SKL_GT2(devid) || \
> +                                IS_SKL_GT3(devid))
> +
> +#define IS_GEN9(devid)         IS_SKYLAKE(devid)
> +
>  #define IS_9XX(dev)            (IS_GEN3(dev) || \
>                                  IS_GEN4(dev) || \
>                                  IS_GEN5(dev) || \
>                                  IS_GEN6(dev) || \
>                                  IS_GEN7(dev) || \
> -                                IS_GEN8(dev))
> +                                IS_GEN8(dev) || \
> +                                IS_GEN9(dev))
>
>
>  #endif /* _INTEL_CHIPSET_H */
> --
> 1.8.3.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dri-devel



More information about the Intel-gfx mailing list