[igt-dev] [PATCH i-g-t 11/20] tests/psr: Check for drrs status only after checking for PSR
Katarzyna Dec
katarzyna.dec at intel.com
Fri Apr 13 11:21:32 UTC 2018
On Tue, Apr 10, 2018 at 07:37:23PM -0700, Dhinakaran Pandiyan wrote:
> The goal of this test is (or should be) to verify DRRS is disabled if PSR
> was enabled. There is no point in checking for DRRS status if PSR was not
> enabled in the first place.
>
> Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan at intel.com>
Reviewed-by: Katarzyna Dec <katarzyna.dec at intel.com>
> ---
> tests/kms_psr_sink_crc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
> index 17490726..a7c6a057 100644
> --- a/tests/kms_psr_sink_crc.c
> +++ b/tests/kms_psr_sink_crc.c
> @@ -486,6 +486,7 @@ int main(int argc, char *argv[])
>
> igt_subtest("no_drrs") {
> setup_test_plane(&data);
> + igt_assert(wait_psr_entry(&data));
> igt_assert(drrs_disabled(&data));
> test_cleanup(&data);
> }
> --
> 2.14.1
>
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
More information about the igt-dev
mailing list