[igt-dev] [PATCH v3 1/2] lib/intel_chipset: Add AT_LEAST_DISPLAY for display version compare

Kamil Konieczny kamil.konieczny at linux.intel.com
Fri Dec 1 10:45:35 UTC 2023


Hi Mohammed,
On 2023-12-01 at 15:37:24 +0530, Mohammed Thasleem wrote:
> Added AT_LEAST_DISPLAY check for display version compare.
> 
> Cc: Swati Sharma <swati2.sharma at intel.com>
> Signed-off-by: Mohammed Thasleem <mohammed.thasleem at intel.com>

Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

> ---
>  lib/intel_chipset.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/lib/intel_chipset.h b/lib/intel_chipset.h
> index 1edc8e92c..3f2534519 100644
> --- a/lib/intel_chipset.h
> +++ b/lib/intel_chipset.h
> @@ -208,6 +208,7 @@ void intel_check_pch(void);
>  
>  #define IS_GEN(devid, x)	(intel_get_device_info(devid)->graphics_ver == x)
>  #define AT_LEAST_GEN(devid, x)	(intel_get_device_info(devid)->graphics_ver >= x)
> +#define AT_LEAST_DISPLAY(devid, x) (intel_get_device_info(devid)->display_ver >= x)
>  
>  #define IS_GEN2(devid)		IS_GEN(devid, 2)
>  #define IS_GEN3(devid)		IS_GEN(devid, 3)
> -- 
> 2.25.1
> 


More information about the igt-dev mailing list