public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 1/2] tests/i915_fb_tiling: Check if device supports tiling
@ 2020-05-19 19:13 Ashutosh Dixit
  2020-05-19 19:13 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_addfb_basic: Skip tiling subtests on device without fences Ashutosh Dixit
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Ashutosh Dixit @ 2020-05-19 19:13 UTC (permalink / raw)
  To: igt-dev

From: Vanshidhar Konda <vanshidhar.r.konda@intel.com>

Skip this test if the platform does not support setting tiling for frame
buffer object.

Cc: Imre Deak <imre.deak@intel.com>
Cc: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Vanshidhar Konda <vanshidhar.r.konda@intel.com>
Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com>
---
 tests/i915/i915_fb_tiling.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/i915/i915_fb_tiling.c b/tests/i915/i915_fb_tiling.c
index 7d5c3f1fa..02b3f4c4b 100644
--- a/tests/i915/i915_fb_tiling.c
+++ b/tests/i915/i915_fb_tiling.c
@@ -32,6 +32,8 @@ igt_simple_main
 	struct igt_fb fb;
 	int ret;
 
+	igt_require(gem_available_fences(drm_fd) > 0);
+
 	igt_create_fb(drm_fd, 512, 512, DRM_FORMAT_XRGB8888,
 		      LOCAL_I915_FORMAT_MOD_X_TILED, &fb);
 
-- 
2.26.2.593.gb994622632

_______________________________________________
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:[~2020-05-20  7:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-19 19:13 [igt-dev] [PATCH i-g-t 1/2] tests/i915_fb_tiling: Check if device supports tiling Ashutosh Dixit
2020-05-19 19:13 ` [igt-dev] [PATCH i-g-t 2/2] tests/kms_addfb_basic: Skip tiling subtests on device without fences Ashutosh Dixit
2020-05-19 19:42   ` Chris Wilson
2020-05-19 19:37 ` [igt-dev] [PATCH i-g-t 1/2] tests/i915_fb_tiling: Check if device supports tiling Chris Wilson
2020-05-19 20:25 ` [igt-dev] ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/2] " Patchwork
2020-05-20  7:06 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork

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