[igt-dev] [PATCH i-g-t 6/7] tests/intel/kms_psr: made test compaitable with pr

Joshi, Kunal1 kunal1.joshi at intel.com
Fri Nov 10 08:25:13 UTC 2023


>> +               igt_display_require(&data.display, data.drm_fd);
>> +               data.supports_psr2 = data.supports_psr2 |
>> sink_support(&data, PSR_MODE_2);

> You need to drop this line as well. Otherwise it wont build.
>
> BR,
>
> Jouni Högander

Hello Jouni,

this was present in the legacy code and I didn't remove this,
It's used in test_setup function,

                if (data->op_psr_mode == PSR_MODE_2)
                        igt_require(data->supports_psr2);

But now this logic is redundant so will remove this.

Thanks and Regards
Kunal Joshi


More information about the igt-dev mailing list