FreeBSD Bugzilla – Attachment 220264 Details for
Bug 251588
x11-drivers/xf86-video-intel: switch to iris by default (like modesetting)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
bug251588.diff (text/plain), 2.00 KB, created by
Jan Beich
on 2020-12-04 21:56:10 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2020-12-04 21:56:10 UTC
Size:
2.00 KB
patch
obsolete
>From f0de23168c046614838e0bec09f35a83a829ac61 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Fri, 4 Dec 2020 21:13:52 +0000 >Subject: [PATCH] x11-drivers/xf86-video-intel: switch to iris by default > >modesetting(4x) uses iris on Brodwell and newer, so do the same. > >PR: 251588 >Approved by: ? >--- > x11-drivers/xf86-video-intel/Makefile | 1 + > .../xf86-video-intel/files/patch-prefer-iris | 30 +++++++++++++++++++ > 2 files changed, 31 insertions(+) > create mode 100644 x11-drivers/xf86-video-intel/files/patch-prefer-iris > >diff --git a/x11-drivers/xf86-video-intel/Makefile b/x11-drivers/xf86-video-intel/Makefile >index dea5b8b88bef..05e9daacc3df 100644 >--- a/x11-drivers/xf86-video-intel/Makefile >+++ b/x11-drivers/xf86-video-intel/Makefile >@@ -4,6 +4,7 @@ > PORTNAME= xf86-video-intel > DISTVERSION= 2.99.917-912 > DISTVERSIONSUFFIX= -g${GL_COMMIT:C/(.{12}).*/\1/} >+PORTREVISION= 1 > 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 >new file mode 100644 >index 000000000000..4c10f2e66fc0 >--- /dev/null >+++ b/x11-drivers/xf86-video-intel/files/patch-prefer-iris >@@ -0,0 +1,30 @@ >+Chase https://gitlab.freedesktop.org/mesa/mesa/-/commit/adaa3583f507 >+ >+--- src/sna/sna_dri2.c.orig 2020-11-16 15:23:28 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 "iris"; >+ } >+ >+ return s; >+--- src/uxa/intel_dri.c.orig 2020-11-16 15:23:28 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 "iris"; >+ } >+ >+ return s;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 251588
: 220264