View | Details | Raw Unified | Return to bug 251588
Collapse All | Expand All

(-)b/x11-drivers/xf86-video-intel/Makefile (+1 lines)
Lines 4-9 Link Here
4
PORTNAME=	xf86-video-intel
4
PORTNAME=	xf86-video-intel
5
DISTVERSION=	2.99.917-912
5
DISTVERSION=	2.99.917-912
6
DISTVERSIONSUFFIX=	-g${GL_COMMIT:C/(.{12}).*/\1/}
6
DISTVERSIONSUFFIX=	-g${GL_COMMIT:C/(.{12}).*/\1/}
7
PORTREVISION=	1
7
PORTEPOCH=	1
8
PORTEPOCH=	1
8
CATEGORIES=	x11-drivers
9
CATEGORIES=	x11-drivers
9
10
(-)b/x11-drivers/xf86-video-intel/files/patch-prefer-iris (+30 lines)
Added Link Here
1
Chase https://gitlab.freedesktop.org/mesa/mesa/-/commit/adaa3583f507
2
3
--- src/sna/sna_dri2.c.orig	2020-11-16 15:23:28 UTC
4
+++ src/sna/sna_dri2.c
5
@@ -3707,8 +3707,10 @@ static const char *dri_driver_name(struct sna *sna)
6
 			return has_i830_dri() ? "i830" : "i915";
7
 		else if (sna->kgem.gen < 040)
8
 			return "i915";
9
-		else
10
+		else if (sna->kgem.gen < 0100)
11
 			return "i965";
12
+		else
13
+			return "iris";
14
 	}
15
 
16
 	return s;
17
--- src/uxa/intel_dri.c.orig	2020-11-16 15:23:28 UTC
18
+++ src/uxa/intel_dri.c
19
@@ -1540,8 +1540,10 @@ static const char *dri_driver_name(intel_screen_privat
20
 			return has_i830_dri() ? "i830" : "i915";
21
 		else if (INTEL_INFO(intel)->gen < 040)
22
 			return "i915";
23
-		else
24
+		else if (INTEL_INFO(intel)->gen < 0100)
25
 			return "i965";
26
+		else
27
+			return "iris";
28
 	}
29
 
30
 	return s;

Return to bug 251588