[Beignet] [PATCH] add bxt with pciid 0x1A84

Yang, Rong R rong.r.yang at intel.com
Mon Oct 10 13:07:11 UTC 2016


LGTM, pushed, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Guo Yejun
> Sent: Thursday, September 29, 2016 9:58
> To: beignet at lists.freedesktop.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [Beignet] [PATCH] add bxt with pciid 0x1A84
> 
> Signed-off-by: Guo Yejun <yejun.guo at intel.com>
> ---
>  src/cl_device_data.h | 4 +++-
>  src/cl_device_id.c   | 2 ++
>  2 files changed, 5 insertions(+), 1 deletion(-)
> 
> diff --git a/src/cl_device_data.h b/src/cl_device_data.h index
> 30366ea..a237b0e 100644
> --- a/src/cl_device_data.h
> +++ b/src/cl_device_data.h
> @@ -299,10 +299,12 @@
>  /* BXT */
>  #define PCI_CHIP_BROXTON_P	0x5A84   /* Intel(R) BXT-P for mobile
> desktop */
>  #define PCI_CHIP_BROXTON_1	0x5A85
> +#define PCI_CHIP_BROXTON_2	0x1A84
> 
>  #define IS_BROXTON(devid)               \
>    (devid == PCI_CHIP_BROXTON_P ||       \
> -   devid == PCI_CHIP_BROXTON_1)
> +   devid == PCI_CHIP_BROXTON_1 ||       \
> +   devid == PCI_CHIP_BROXTON_2)
> 
>  #define PCI_CHIP_KABYLAKE_ULT_GT1     0x5906
>  #define PCI_CHIP_KABYLAKE_ULT_GT2     0x5916
> diff --git a/src/cl_device_id.c b/src/cl_device_id.c index df3355c..02aad96
> 100644
> --- a/src/cl_device_id.c
> +++ b/src/cl_device_id.c
> @@ -617,6 +617,8 @@ skl_gt4_break:
> 
>      case PCI_CHIP_BROXTON_P:
>        DECL_INFO_STRING(bxt_break, intel_bxt_device, name, "Intel(R) HD
> Graphics Broxton-P");
> +    case PCI_CHIP_BROXTON_2:
> +      DECL_INFO_STRING(bxt_break, intel_bxt_device, name, "Intel(R) HD
> + Graphics Broxton 2");
>  bxt_break:
>        intel_bxt_device.device_id = device_id;
>        intel_bxt_device.platform = cl_get_platform_default();
> --
> 2.7.4
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list