diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-30 21:39:40 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-12-30 21:40:57 +0000 |
commit | 550e8accb2358a98f066c9b2460d8137bc130ba1 (patch) | |
tree | b7d4cc26112588e6c23835b9b640dea8d779d70d | |
parent | 23ae7f2134da3a4666f721c09920121e7f64a3d5 (diff) |
igt/kms_addfb_basic: Try changing tiling on the framebuffer
If we request the object to be tiled with the same tiling as it
currently has, the kernel may spot the no-op and report success.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | tests/kms_addfb_basic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_addfb_basic.c b/tests/kms_addfb_basic.c index 29fbe817..624ddfbc 100644 --- a/tests/kms_addfb_basic.c +++ b/tests/kms_addfb_basic.c @@ -203,7 +203,7 @@ static void tiling_tests(int fd) gem_set_tiling(fd, gem_bo, I915_TILING_X, 1024*4); igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_ADDFB2, &f) == 0); igt_assert(__gem_set_tiling(fd, gem_bo, I915_TILING_X, 512*4) == -EBUSY); - igt_assert(__gem_set_tiling(fd, gem_bo, I915_TILING_X, 1024*4) == -EBUSY); + igt_assert(__gem_set_tiling(fd, gem_bo, I915_TILING_Y, 1024*4) == -EBUSY); igt_assert(drmIoctl(fd, DRM_IOCTL_MODE_RMFB, &f.fb_id) == 0); f.fb_id = 0; } |