diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-08-13 19:02:34 -0300 |
---|---|---|
committer | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2015-08-14 15:28:49 -0300 |
commit | 445182f26bd48bfefdec7064a7f4afafc8f52a1e (patch) | |
tree | 3a4505a8152cfed289ff9839e497cad598df67ac /tests/kms_frontbuffer_tracking.c | |
parent | 9113c9aa9be5626d4d12a794c70860097ae59c1f (diff) |
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 <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests/kms_frontbuffer_tracking.c')
-rw-r--r-- | tests/kms_frontbuffer_tracking.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index e95c6dc15..f8e187834 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; |