mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
x11-drivers/xf86-video-intel: switch to crocus DRI after 23e4dce35c
PR: 269291
Tested by: nogueira@tuta.io
Approved by: manu
(cherry picked from commit 5c430b8585
)
This commit is contained in:
parent
495ee8c05b
commit
0067155b45
@ -1,7 +1,7 @@
|
||||
PORTNAME= xf86-video-intel
|
||||
DISTVERSION= 2.99.917-916
|
||||
DISTVERSIONSUFFIX= -g${GL_COMMIT:C/(.{12}).*/\1/}
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= x11-drivers
|
||||
|
||||
|
@ -1,29 +1,30 @@
|
||||
Chase https://gitlab.freedesktop.org/mesa/mesa/-/commit/adaa3583f507
|
||||
Chase https://gitlab.freedesktop.org/mesa/mesa/-/commit/cdde031ac2c8
|
||||
|
||||
--- src/sna/sna_dri2.c.orig 2020-11-16 15:23:28 UTC
|
||||
--- src/sna/sna_dri2.c.orig 2021-01-15 20:59:05 UTC
|
||||
+++ src/sna/sna_dri2.c
|
||||
@@ -3707,8 +3707,10 @@ static const char *dri_driver_name(struct sna *sna)
|
||||
return has_i830_dri() ? "i830" : "i915";
|
||||
else if (sna->kgem.gen < 040)
|
||||
return "i915";
|
||||
- else
|
||||
+ else if (sna->kgem.gen < 0100)
|
||||
return "i965";
|
||||
+ else
|
||||
+ return "crocus";
|
||||
else
|
||||
- return "i965";
|
||||
+ return "iris";
|
||||
}
|
||||
|
||||
return s;
|
||||
--- src/uxa/intel_dri.c.orig 2020-11-16 15:23:28 UTC
|
||||
--- src/uxa/intel_dri.c.orig 2021-01-15 20:59:05 UTC
|
||||
+++ src/uxa/intel_dri.c
|
||||
@@ -1540,8 +1540,10 @@ static const char *dri_driver_name(intel_screen_privat
|
||||
return has_i830_dri() ? "i830" : "i915";
|
||||
else if (INTEL_INFO(intel)->gen < 040)
|
||||
return "i915";
|
||||
- else
|
||||
+ else if (INTEL_INFO(intel)->gen < 0100)
|
||||
return "i965";
|
||||
+ else
|
||||
+ return "crocus";
|
||||
else
|
||||
- return "i965";
|
||||
+ return "iris";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user