[PATCH] tests/kms_async_flips: Only check joiner mode on intel device

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Dec 11 09:47:35 UTC 2024


Hi george.zhang,
On 2024-12-10 at 17:39:03 -0500, george.zhang at amd.com wrote:
> From: George Zhang <george.zhang at amd.com>
> 
> The joiner mode check causes the kms_async_flip tests to fail on
> non-intel devices. Added a guard to only check the joiner mode if
> running on intel device.
> 
> v2: Moved guard to within is_joiner_mode function
> 

I will add to CC devs found with git blame and in patch itself:

Cc: Jeevan B <jeevan.b at intel.com>
Cc: Santhosh Reddy Guddati <santhosh.reddy.guddati at intel.com>
Cc: Swati Sharma <swati2.sharma at intel.com>

Regards,
Kamil

> Signed-off-by: George Zhang <george.zhang at amd.com>
> ---
>  lib/igt_kms.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 43ca2d4c2..3d061abc5 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -6467,6 +6467,9 @@ bool is_joiner_mode(int drm_fd, igt_output_t *output)
>  	int max_dotclock;
>  	drmModeModeInfo mode;
>  
> +        if (!is_intel_device(drm_fd))
> +                return false;
> +
>  	max_dotclock = igt_get_max_dotclock(drm_fd);
>  	is_joiner = bigjoiner_mode_found(drm_fd,
>  					 output->config.connector,
> -- 
> 2.34.1
> 


More information about the igt-dev mailing list