From: Nidhi Gupta <nidhi1.gupta@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Nidhi Gupta <nidhi1.gupta@intel.com>
Subject: [igt-dev] [PATCH i-g-t v2] tests/kms_rotation_crc@exhaust-fences: added check for HW detiler
Date: Fri, 5 Mar 2021 12:14:21 +0530 [thread overview]
Message-ID: <20210305064421.23388-1-nidhi1.gupta@intel.com> (raw)
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
next reply other threads:[~2021-03-05 6:34 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-05 6:44 Nidhi Gupta [this message]
2021-03-05 7:11 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/kms_rotation_crc@exhaust-fences: added check for HW detiler 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210305064421.23388-1-nidhi1.gupta@intel.com \
--to=nidhi1.gupta@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox