[PATCH i-g-t v2 2/2] tests/kms_bw: Add 2160x1440p mode

Jessica Zhang quic_jesszhan at quicinc.com
Tue Feb 27 00:59:37 UTC 2024



On 2/15/2024 2:19 PM, Rob Clark wrote:
> From: Rob Clark <robdclark at chromium.org>
> 
> Add an additional mode so that we can get more kms_bw coverage on
> sc7180.
> 
> v2: Add missing comment listing subtest name
> 
> Signed-off-by: Rob Clark <robdclark at chromium.org>
> Reviewed-by: Abhinav Kumar <quic_abhinavk at quicinc.com>

Hi Rob,

Tested-by: Jessica Zhang <quic_jesszhan at quicinc.com> # Trogdor (sc7180)
Reviewed-by: Jessica Zhang <quic_jesszhan at quicinc.com>

Thanks,

Jessica Zhang

> ---
>   tests/kms_bw.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/tests/kms_bw.c b/tests/kms_bw.c
> index f1d2a1b64577..96b19199d4d6 100644
> --- a/tests/kms_bw.c
> +++ b/tests/kms_bw.c
> @@ -47,6 +47,7 @@
>    * @1920x1080p:       1920x1080 resolution
>    * @2560x1440p:       2560x1440 resolution
>    * @3840x2160p:       3840x2160 resolution
> + * @2160x1440p:       2160x1440 resolution
>    */
>   
>   /* Common test data. */
> @@ -91,6 +92,15 @@ static drmModeModeInfo test_mode[] = {
>   	"3840x2160p\0",
>   	}, /* test_mode_3 */
>   
> +	{ 207800,
> +	2160, 2208, 2240, 2340, 0,
> +	1440, 1443, 1449, 1480, 0,
> +	60,
> +	DRM_MODE_FLAG_NVSYNC | DRM_MODE_FLAG_PHSYNC,
> +	0x48,
> +	"2160x1440p\0",
> +	}, /* test_mode_4 */
> +
>   };
>   
>   static void test_init(data_t *data)
> -- 
> 2.43.0
> 


More information about the igt-dev mailing list