All of 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; 7+ 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] 7+ messages in thread
* [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc@exhaust-fences:added check for HW detiler
@ 2021-02-23  9:34 Nidhi Gupta
  2021-02-23 10:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
  0 siblings, 1 reply; 7+ messages in thread
From: Nidhi Gupta @ 2021-02-23  9:34 UTC (permalink / raw)
  To: igt-dev; +Cc: Nidhi Gupta

HW detiler not supported on platforms w/o aperture. We should
SKIP this test instead of getting invalid argument.

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 6d143ec8..cd632b60 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -789,6 +789,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] 7+ messages in thread

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

Thread overview: 7+ 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
  -- strict thread matches above, loose matches on Subject: below --
2021-02-23  9:34 [igt-dev] [PATCH i-g-t] tests/kms_rotation_crc@exhaust-fences:added " Nidhi Gupta
2021-02-23 10:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.