Skip to content
Snippets Groups Projects
Commit 5c430b85 authored by Jan Beich's avatar Jan Beich
Browse files

x11-drivers/xf86-video-intel: switch to crocus DRI after 23e4dce3

PR:		269291
Tested by:	nogueira@tuta.io
Approved by:	manu
parent c3106175
No related branches found
No related tags found
No related merge requests found
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
......
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";
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment