[igt-dev] [PATCH i-g-t 6/9] tests/kms_available_modes_crc: Skip test if mappable aperture not supported

Ramalingam C
2020-01-31T17:31:23Z

If the mappable aperture is not supported, skip the test.

Signed-off-by: Ramalingam C <ramalingam.c@intel.com>
---
tests/kms_available_modes_crc.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/tests/kms_available_modes_crc.c b/tests/kms_available_modes_crc.c
index d1b7b51708b0..12761343459a 100644
--- a/tests/kms_available_modes_crc.c
+++ b/tests/kms_available_modes_crc.c
@@ -448,6 +448,7 @@ igt_main
data.commit = data.display.is_atomic ? COMMIT_ATOMIC : COMMIT_LEGACY;

igt_subtest("available_mode_test_crc") {
+ gem_require_mappable_ggtt(data.gfx_fd);
test_available_modes(&data);
}

--
2.20.1