[PATCH i-g-t 03/10] lib: sync i915_pciids.h with kernel commit 7b43a37348b7

Rodrigo Vivi rodrigo.vivi at intel.com
Wed May 22 16:09:34 UTC 2024


On Wed, May 22, 2024 at 01:35:16PM +0300, Jani Nikula wrote:
> Synchronize i915_pciids.h with kernel commit:
> 
> 7b43a37348b7 ("drm/i915/pciids: add INTEL_SNB_IDS()")
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  lib/i915_pciids.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/lib/i915_pciids.h b/lib/i915_pciids.h
> index 05f466ca8ce2..0d48c493dcce 100644
> --- a/lib/i915_pciids.h
> +++ b/lib/i915_pciids.h
> @@ -151,6 +151,10 @@
>  	INTEL_SNB_M_GT1_IDS(info), \
>  	INTEL_SNB_M_GT2_IDS(info)
>  
> +#define INTEL_SNB_IDS(info) \
> +	INTEL_SNB_D_IDS(info), \
> +	INTEL_SNB_M_IDS(info)
> +

I thought we were missing the change in lib/intel_device_info.c,
but then I noticed they use 2 different structs for these platforms.

But a good thing to fully align the header itself

Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

>  #define INTEL_IVB_M_GT1_IDS(info) \
>  	INTEL_VGA_DEVICE(0x0156, info) /* GT1 mobile */
>  
> -- 
> 2.39.2
> 


More information about the igt-dev mailing list