[igt-dev] [PATCH i-g-t] tests/kms_invalid_mode: Skip clock-too-high subtest on DSC panel

Sharma, Swati2 swati2.sharma at intel.com
Fri May 13 08:37:59 UTC 2022


Karthik, please add "Fixes" tag
https://gitlab.freedesktop.org/drm/intel/-/issues/4402

On 13-May-22 9:38 AM, Karthik B S wrote:
> Max clock limit calculation isn't valid with DSC.
> Skip the test on DSC panels.
> 
> Signed-off-by: Karthik B S <karthik.b.s at intel.com>
> ---
>   tests/kms_invalid_mode.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> diff --git a/tests/kms_invalid_mode.c b/tests/kms_invalid_mode.c
> index bb92a94e..cf011a17 100644
> --- a/tests/kms_invalid_mode.c
> +++ b/tests/kms_invalid_mode.c
> @@ -73,6 +73,8 @@ adjust_mode_clock_too_high(data_t *data, drmModeModeInfoPtr mode)
>   	int max_dotclock = data->max_dotclock;
>   
>   	igt_require(max_dotclock != 0);
> +	igt_require(!igt_is_dsc_supported(data->drm_fd,
> +					  data->output->config.connector));
>   
>   	/*
>   	 * FIXME When we have a fixed mode, the kernel will ignore

-- 
~Swati Sharma


More information about the igt-dev mailing list