diff options
author | Nidhi Gupta <nidhi1.gupta@intel.com> | 2021-03-05 12:14:21 +0530 |
---|---|---|
committer | Swati Sharma <swati2.sharma@intel.com> | 2021-03-05 13:15:57 +0530 |
commit | 6ad39f49aa24bf88980b4c1a21b3f78299d4565c (patch) | |
tree | 03ea0b09ed17b3f0d0d08f6c3bb9918ab5f0f7d0 /tests/kms_rotation_crc.c | |
parent | 3c3d08ad629c404ace39256da334e4317b550de6 (diff) |
tests/kms_rotation_crc@exhaust-fences: added check for HW detiler
HW detiler not supported on platforms w/o aperture.
Added feature test macro to query the kernel for the
global gpu aperture size. Aperture size should be
greater than zero to support HW detiler, if not skip
the test.
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
Reviewed-by: Swati Sharma <swati2.sharma@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index adddb690..bcbb9bdc 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -884,6 +884,7 @@ static void test_plane_rotation_exhaust_fences(data_t *data, int i; igt_require(igt_plane_has_prop(plane, IGT_PLANE_ROTATION)); + igt_require(gem_available_fences(display->drm_fd) > 0); prepare_crtc(data, output, pipe, plane, false); |