diff options
author | Pandiyan, Dhinakaran <dhinakaran.pandiyan@intel.com> | 2018-03-15 18:21:18 -0700 |
---|---|---|
committer | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2018-03-20 12:35:55 +0100 |
commit | 178e7f3da66cd02660a86257df75708a0efa3bbc (patch) | |
tree | c7bdb404e51f662539cc68abfa354c6c11a0cfd6 /tests/kms_fbcon_fbt.c | |
parent | b09e979a67817a9b068f841bda81940b9d208850 (diff) |
tests/kms_frontbuffer_tracking: Update check for PSR status
Kernel does not expose the "Active: " flag in edp_psr_status anymore.
So test for "HW Enabled & Active bit: yes", although this isn't completely
accurate either for frontbuffer tests. Let's go with this for now until
the kernel exposes HW PSR status.
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105519
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Marta Lofstedt <marta.lofstedt@intel.com>
Diffstat (limited to 'tests/kms_fbcon_fbt.c')
-rw-r--r-- | tests/kms_fbcon_fbt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_fbcon_fbt.c b/tests/kms_fbcon_fbt.c index b01c769c..280ddbd7 100644 --- a/tests/kms_fbcon_fbt.c +++ b/tests/kms_fbcon_fbt.c @@ -189,7 +189,7 @@ static bool psr_is_enabled(int fd) char buf[256]; igt_debugfs_read(fd, "i915_edp_psr_status", buf); - return strstr(buf, "\nActive: yes\n"); + return strstr(buf, "\nHW Enabled & Active bit: yes\n"); } static bool psr_wait_until_enabled(int fd) |