summaryrefslogtreecommitdiff
path: root/tests/kms_atomic_transition.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2021-03-30 19:13:15 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2021-03-31 17:17:30 +0300
commit936f871d305762f10f3bd87622a6128236893291 (patch)
treee78ca105d19fcada4b3a1c78cc40557de8116d7b /tests/kms_atomic_transition.c
parent59becc29a9adc35b991cf5d3e221cd133bf0221b (diff)
tests/kms_atomic_transition: Fix the is_atomic check
We want to check the value of is_atomic, not its address. Should make the test skip correctly again when the driver doesn't advertise atomic support. Cc: Nidhi Gupta <nidhi1.gupta@intel.com> Fixes: e796ca7ce6fe ("tests/kms_atomic_transition:reduce execution time") Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Diffstat (limited to 'tests/kms_atomic_transition.c')
-rw-r--r--tests/kms_atomic_transition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index 431824d0..be60940d 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -993,7 +993,7 @@ igt_main_args("", long_opts, help_str, opt_handler, &data)
kmstest_set_vt_graphics_mode();
igt_display_require(&data.display, data.drm_fd);
- igt_require(&data.display.is_atomic);
+ igt_require(data.display.is_atomic);
igt_display_require_output(&data.display);