summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAshutosh Dixit <ashutosh.dixit@intel.com>2021-09-13 09:55:50 -0700
committerAshutosh Dixit <ashutosh.dixit@intel.com>2021-09-13 12:44:53 -0700
commit07d6594ed02f55b68d64fa6dd7f80cfbc1ce4ef8 (patch)
tree0c614212d8134b8ca4897c1feddeaac5256e0fc8 /tests
parent0f2635295c20396c1d9b976c39d23c9d12b8659e (diff)
tests/kms_addfb_basic: Skip basic-y-tiled-legacy on discrete
The test will fail on discrete and needs to be skipped. Cc: Imre Deak <imre.deak@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Reviewed-by: Imre Deak <imre.deak@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/kms_addfb_basic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c
index 0f641e7d..eed7038c 100644
--- a/tests/kms_addfb_basic.c
+++ b/tests/kms_addfb_basic.c
@@ -393,6 +393,7 @@ static void tiling_tests(int fd)
igt_describe("Test that addfb2 call fails correctly for basic y-tiling test");
f.pitches[0] = 1024*4;
igt_subtest("basic-y-tiled-legacy") {
+ igt_require(!gem_has_lmem(fd));
f.handles[0] = tiled_y_bo;
igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == -1 &&