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>
This commit is contained in:
Paulo Zanoni 2015-08-13 19:02:34 -03:00
parent 9113c9aa9b
commit 445182f26b

View File

@ -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;