Re: [PATCH libdrm] intel: Add the Broxton PCI IDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On pe, 2015-05-15 at 19:44 +0100, Damien Lespiau wrote:
> Cc: Imre Deak <imre.deak@xxxxxxxxx>
> Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx>

Reviewed-by: Imre Deak <imre.deak@xxxxxxxxx>

> ---
>  intel/intel_chipset.h | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/intel/intel_chipset.h b/intel/intel_chipset.h
> index e22a867..253ea71 100644
> --- a/intel/intel_chipset.h
> +++ b/intel/intel_chipset.h
> @@ -181,6 +181,10 @@
>  #define PCI_CHIP_SKYLAKE_SRV_GT1	0x190A
>  #define PCI_CHIP_SKYLAKE_WKS_GT2 	0x191D
>  
> +#define PCI_CHIP_BROXTON_0		0x0A84
> +#define PCI_CHIP_BROXTON_1		0x1A84
> +#define PCI_CHIP_BROXTON_2		0x5A84
> +
>  #define IS_MOBILE(devid)	((devid) == PCI_CHIP_I855_GM || \
>  				 (devid) == PCI_CHIP_I915_GM || \
>  				 (devid) == PCI_CHIP_I945_GM || \
> @@ -362,7 +366,12 @@
>  				 IS_SKL_GT2(devid) || \
>  				 IS_SKL_GT3(devid))
>  
> -#define IS_GEN9(devid)		IS_SKYLAKE(devid)
> +#define IS_BROXTON(devid)	((devid) == PCI_CHIP_BROXTON_0	|| \
> +				 (devid) == PCI_CHIP_BROXTON_1	|| \
> +				 (devid) == PCI_CHIP_BROXTON_2)
> +
> +#define IS_GEN9(devid)		(IS_SKYLAKE(devid) || \
> +				 IS_BROXTON(devid))
>  
>  #define IS_9XX(dev)		(IS_GEN3(dev) || \
>  				 IS_GEN4(dev) || \


_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux