[igt-dev] [PATCH i-g-t] tests/kms_psr: Skip h/w tracking PSR2 tests for ADL-P

Sharma, Swati2 swati2.sharma at intel.com
Thu Jul 8 12:15:44 UTC 2021


Reviewed-by: Swati Sharma <swati2.sharma at intel.com>

On 08-Jul-21 3:38 PM, Jeevan B wrote:
> From: Pankaj Bharadiya <pankaj.laxminarayan.bharadiya at intel.com>
> 
> Currently, PSR2 functionality has not been tested on ADL-P.
> Add ADL-P platform specific check to skip PSR2 hw tracking tests.
> 
> Signed-off-by: Jeevan B <jeevan.b at intel.com>
> ---
>   tests/kms_psr.c | 5 +++++
>   1 file changed, 5 insertions(+)
> 
> diff --git a/tests/kms_psr.c b/tests/kms_psr.c
> index a80abf19..cc713e27 100644
> --- a/tests/kms_psr.c
> +++ b/tests/kms_psr.c
> @@ -416,6 +416,11 @@ static void test_setup(data_t *data)
>   	igt_require_f(data->mode,
>   		      "No available mode found on %s\n",
>   		      data->output->name);
> +
> +	if (data->op_psr_mode == PSR_MODE_2)
> +		igt_require_f(intel_display_ver(intel_get_drm_devid(data->drm_fd)) < 13,
> +			      "Intentionally not testing this on Display 13+, Kernel change required to enable testing\n");
> +
>   	if (data->op_psr_mode == PSR_MODE_2)
>   		igt_require(data->supports_psr2);
>   
> 

-- 
~Swati Sharma


More information about the igt-dev mailing list