Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc@exhaust-fences: added check for HW detiler
@ 2021-03-05  6:44 Nidhi Gupta
  2021-03-05  7:11 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Nidhi Gupta @ 2021-03-05  6:44 UTC (permalink / raw)
  To: igt-dev; +Cc: Nidhi Gupta

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>
---
 tests/kms_rotation_crc.c | 1 +
 1 file changed, 1 insertion(+)

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);
 
-- 
2.26.2

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-05 11:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-05  6:44 [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc@exhaust-fences: added check for HW detiler Nidhi Gupta
2021-03-05  7:11 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-03-05  7:28 ` [igt-dev] [PATCH i-g-t v2] " Sharma, Swati2
2021-03-05  7:38   ` Sharma, Swati2
2021-03-05  8:44 ` [igt-dev] ✗ Fi.CI.IGT: failure for " Patchwork
2021-03-05 11:09 ` [igt-dev] [PATCH i-g-t v2] " Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox