[igt-dev] [PATCH i-g-t] tests/intel/kms_big_fb: skip if rendercopy support is not present

Swati Sharma swati2.sharma at intel.com
Wed Oct 11 04:40:52 UTC 2023


Skip test if rendercopy support is not present.

Cc: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
---
 tests/intel/kms_big_fb.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/intel/kms_big_fb.c b/tests/intel/kms_big_fb.c
index 2c7b24fca..5d93d8d0d 100644
--- a/tests/intel/kms_big_fb.c
+++ b/tests/intel/kms_big_fb.c
@@ -1072,6 +1072,8 @@ igt_main
 		if (intel_display_ver(data.devid) >= 4)
 			data.render_copy = igt_get_render_copyfunc(data.devid);
 
+		igt_skip_on(!data.render_copy);
+
 		data.bops = buf_ops_create(data.drm_fd);
 
 		data.planeclearrgb[0] = 0.0;
-- 
2.25.1



More information about the igt-dev mailing list