diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-02-03 04:18:40 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-02-05 06:13:52 +0000 |
commit | 5c430b858589919a9074afc86ef818a030ec1f81 (patch) | |
tree | 36ec4a92d577befd6396598ddee74a1874cd8e85 | |
parent | c31061758eec7fac2a720c051a024d3d0df37567 (diff) | |
download | ports-5c430b858589919a9074afc86ef818a030ec1f81.tar.gz ports-5c430b858589919a9074afc86ef818a030ec1f81.zip |
-rw-r--r-- | x11-drivers/xf86-video-intel/Makefile | 2 | ||||
-rw-r--r-- | x11-drivers/xf86-video-intel/files/patch-prefer-iris | 17 |
2 files changed, 10 insertions, 9 deletions
diff --git a/x11-drivers/xf86-video-intel/Makefile b/x11-drivers/xf86-video-intel/Makefile index 9811c6e012f4..e4cea9dc4886 100644 --- a/x11-drivers/xf86-video-intel/Makefile +++ b/x11-drivers/xf86-video-intel/Makefile @@ -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 diff --git a/x11-drivers/xf86-video-intel/files/patch-prefer-iris b/x11-drivers/xf86-video-intel/files/patch-prefer-iris index 4c10f2e66fc0..753bd029eb3e 100644 --- a/x11-drivers/xf86-video-intel/files/patch-prefer-iris +++ b/x11-drivers/xf86-video-intel/files/patch-prefer-iris @@ -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"; } |