From 484e27542d79f78e467004fec5a5192ac6006b34 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 15 Jun 2015 17:09:11 +0200 Subject: [PATCH] tests/kms_fbc_crc: Don't force fbc on old platforms It's simply a bit too scary on pre-gen6 and imo not worth the bother really until someone starts to implement all the hacks an w/a required on these platforms. On later platforms the issues are just with correctness and performance hence no risk for hanging machines. Cc: Paulo Zanoni Signed-off-by: Daniel Vetter --- tests/kms_fbc_crc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/kms_fbc_crc.c b/tests/kms_fbc_crc.c index d9642243..f2a86a69 100644 --- a/tests/kms_fbc_crc.c +++ b/tests/kms_fbc_crc.c @@ -562,7 +562,8 @@ igt_main igt_require_f(!strstr(buf, "unsupported on this chipset"), "FBC not supported\n"); - igt_set_module_param_int("enable_fbc", 1); + if (intel_gen(data.devid) >= 6) + igt_set_module_param_int("enable_fbc", 1); data.bufmgr = drm_intel_bufmgr_gem_init(data.drm_fd, 4096); igt_assert(data.bufmgr);