[Beignet] [PATCH 2/2] change PCI_CHIP_BROXTON_P to PCI_CHIP_BROXTON_0 to unify the naming

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


Patchset LGTM, pushed, thanks.

> -----Original Message-----
> From: Beignet [mailto:beignet-bounces at lists.freedesktop.org] On Behalf Of
> Guo Yejun
> Sent: Friday, September 30, 2016 10:39
> To: beignet at lists.freedesktop.org
> Cc: Guo, Yejun <yejun.guo at intel.com>
> Subject: [Beignet] [PATCH 2/2] change PCI_CHIP_BROXTON_P to
> PCI_CHIP_BROXTON_0 to unify the naming
> 
> Signed-off-by: Guo Yejun <yejun.guo at intel.com>
> ---
>  src/cl_device_data.h | 4 ++--
>  src/cl_device_id.c   | 4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/src/cl_device_data.h b/src/cl_device_data.h index
> 3e6ac91..4ee4ca3 100644
> --- a/src/cl_device_data.h
> +++ b/src/cl_device_data.h
> @@ -297,13 +297,13 @@
>  #define IS_SKYLAKE(devid) (IS_SKL_GT1(devid) || IS_SKL_GT2(devid) ||
> IS_SKL_GT3(devid) || IS_SKL_GT4(devid))
> 
>  /* BXT */
> -#define PCI_CHIP_BROXTON_P	0x5A84   /* Intel(R) BXT-P for mobile
> desktop */
> +#define PCI_CHIP_BROXTON_0	0x5A84
>  #define PCI_CHIP_BROXTON_1	0x5A85
>  #define PCI_CHIP_BROXTON_2	0x1A84
>  #define PCI_CHIP_BROXTON_3	0x1A85
> 
>  #define IS_BROXTON(devid)               \
> -  (devid == PCI_CHIP_BROXTON_P ||       \
> +  (devid == PCI_CHIP_BROXTON_0 ||       \
>     devid == PCI_CHIP_BROXTON_1 ||       \
>     devid == PCI_CHIP_BROXTON_2 ||       \
>     devid == PCI_CHIP_BROXTON_3)
> diff --git a/src/cl_device_id.c b/src/cl_device_id.c index 19f984f..232082b
> 100644
> --- a/src/cl_device_id.c
> +++ b/src/cl_device_id.c
> @@ -615,8 +615,8 @@ skl_gt4_break:
>        cl_intel_platform_enable_extension(ret, cl_khr_fp16_ext_id);
>        break;
> 
> -    case PCI_CHIP_BROXTON_P:
> -      DECL_INFO_STRING(bxt18eu_break, intel_bxt18eu_device, name,
> "Intel(R) HD Graphics Broxton-P");
> +    case PCI_CHIP_BROXTON_0:
> +      DECL_INFO_STRING(bxt18eu_break, intel_bxt18eu_device, name,
> + "Intel(R) HD Graphics Broxton 0");
>      case PCI_CHIP_BROXTON_2:
>        DECL_INFO_STRING(bxt18eu_break, intel_bxt18eu_device, name,
> "Intel(R) HD Graphics Broxton 2");
>  bxt18eu_break:
> --
> 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