Blame SOURCES/0001-sna-Let-modestting-glamor-handle-gen9.patch

bd4278
From a768a162648614636fda4aae130c19381f67a443 Mon Sep 17 00:00:00 2001
bd4278
From: Hans de Goede <hdegoede@redhat.com>
bd4278
Date: Mon, 29 Feb 2016 14:43:35 +0100
bd4278
Subject: [PATCH xf86-video-intel 1/2] sna: Let modestting + glamor handle
bd4278
 gen9+
bd4278
bd4278
sna has no meaningfull accel for gen9+, this causes problems with i.e.
bd4278
apps using XVideo since the sprite XVideo support does not work well
bd4278
for many apps.
bd4278
bd4278
Therefor it is better to just let the xserver fall back to modesetting +
bd4278
glamor. This is implemented by returning FALSE from the probe methods,
bd4278
just like how nouveau handles falling back to modesetting for newer cards.
bd4278
bd4278
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1305369
bd4278
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
bd4278
---
bd4278
 src/intel_module.c | 7 +++++++
bd4278
 1 file changed, 7 insertions(+)
bd4278
bd4278
diff --git a/src/intel_module.c b/src/intel_module.c
bd4278
index 60835b9..5979cb9 100644
bd4278
--- a/src/intel_module.c
bd4278
+++ b/src/intel_module.c
bd4278
@@ -571,6 +571,13 @@ intel_scrn_create(DriverPtr		driver,
bd4278
 			return FALSE;
bd4278
 	}
bd4278
 
bd4278
+	/*
bd4278
+	 * Fedora specific modification: Do not use intel driver for skylake+
bd4278
+	 * The intel driver is too much of a moving target / too buggy.
bd4278
+	 */
bd4278
+	if ((unsigned)((struct intel_device_info *)match_data)->gen >= 0110)
bd4278
+		return FALSE;
bd4278
+
bd4278
 	scrn = xf86AllocateScreen(driver, flags);
bd4278
 	if (scrn == NULL)
bd4278
 		return FALSE;
bd4278
-- 
bd4278
2.7.4
bd4278