[Intel-gfx] [PATCH i-g-t 7/8] kms_psr_sink_crc: Fix no-psr option.
Rodrigo Vivi
rodrigo.vivi at intel.com
Thu Nov 5 10:53:33 PST 2015
commit 75b286e821 ("tests/kms_psr_sink_crc: test even
if PSR is disabled by default")' force PSR enabling without
respecting the no-psr (running-with-psr-disabled) option.
Signed-off-by: Rodrigo Vivi <rodrigo.vivi at intel.com>
---
tests/kms_psr_sink_crc.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index 387c615..b2f88ea 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -557,7 +557,8 @@ int main(int argc, char *argv[])
kmstest_set_vt_graphics_mode();
data.devid = intel_get_drm_devid(data.drm_fd);
- igt_set_module_param_int("enable_psr", 1);
+ igt_set_module_param_int("enable_psr", running_with_psr_disabled ?
+ 0 : 1);
igt_skip_on(!psr_possible(&data));
--
2.4.3
More information about the Intel-gfx
mailing list