From 445182f26bd48bfefdec7064a7f4afafc8f52a1e Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Thu, 13 Aug 2015 19:02:34 -0300 Subject: [PATCH] kms_frontbuffer_tracking: fix MMAP_WC assertions on PSR Now that the MMAP_WC operations call the dirty ioctl, PSR gets reenabled after some time. So we have to adjust op_disables_psr() to take that into account. Signed-off-by: Paulo Zanoni --- tests/kms_frontbuffer_tracking.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index e95c6dc1..f8e18783 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -1615,7 +1615,7 @@ static void update_wanted_crc(const struct test_mode *t, struct both_crcs *crc) static bool op_disables_psr(const struct test_mode *t, enum igt_draw_method method) { - if (method != IGT_DRAW_MMAP_GTT && method != IGT_DRAW_MMAP_WC) + if (method != IGT_DRAW_MMAP_GTT) return false; if (t->screen == SCREEN_PRIM) return true;