[igt-dev] [i-g-t] tests/intel/kms_psr: Use blitter if rendercopy isn't present

Sharma, Swati2 swati2.sharma at intel.com
Wed Nov 22 15:50:03 UTC 2023


LGTM

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

On 21-Nov-23 1:50 PM, Bhanuprakash Modem wrote:
> As Rendercopy support in IGT is not present for few latest
> platforms. So, fallback to use Blitter if Rendercopy isn't
> present.
> 
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
> ---
>   tests/intel/kms_psr.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/intel/kms_psr.c b/tests/intel/kms_psr.c
> index 6b80f6f4b..afd74eaff 100644
> --- a/tests/intel/kms_psr.c
> +++ b/tests/intel/kms_psr.c
> @@ -957,7 +957,7 @@ igt_main
>   				igt_display_reset(&data.display);
>   				data.output = output;
>   				igt_dynamic_f("%s", data.output->name) {
> -					data.op = RENDER;
> +					data.op = igt_get_render_copyfunc(data.devid) ? RENDER : BLT;
>   					data.test_plane_id = DRM_PLANE_TYPE_PRIMARY;
>   					test_setup(&data);
>   					dpms_off_on(&data);


More information about the igt-dev mailing list