diff options
authorJosé Roberto de Souza <>2020-09-01 10:26:50 -0700
committerJosé Roberto de Souza <>2020-09-02 14:33:55 -0700
commitc240b5c00d58860e376b012cc3c883c17ae63f37 (patch)
parent46e4315096bcaa2465c82c547274627365b1a69e (diff)
tests/psr: Check for DRRS enabled in no_drrs test
Commit caab25dc9e36 ("drm/i915/display: Fix DRRS debugfs") added "DRRS Enabled" that is set when DRRS is enabled and left "DRRS Supported" to return if the panel supports DRRS. The lack of this change was causing no_drrs tests to always fails if panel supports this feature. Reviewed-by: Gwan-gyeong Mun <> Cc: Gwan-gyeong Mun <> Signed-off-by: José Roberto de Souza <>
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_psr.c b/tests/kms_psr.c
index 49ea446a..ab19073e 100644
--- a/tests/kms_psr.c
+++ b/tests/kms_psr.c
@@ -234,7 +234,7 @@ static bool drrs_disabled(data_t *data)
igt_debugfs_simple_read(data->debugfs_fd, "i915_drrs_status",
buf, sizeof(buf));
- return !strstr(buf, "DRRS Supported: Yes\n");
+ return !strstr(buf, "DRRS Enabled : Yes\n");
static void run_test(data_t *data)