mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
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:
parent
9113c9aa9b
commit
445182f26b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user