Index: head/x11-drivers/xf86-video-intel/Makefile =================================================================== --- head/x11-drivers/xf86-video-intel/Makefile (revision 557401) +++ head/x11-drivers/xf86-video-intel/Makefile (revision 557402) @@ -1,53 +1,54 @@ # Created by: lesi@FreeBSD.org # $FreeBSD$ PORTNAME= xf86-video-intel DISTVERSION= 2.99.917-912 DISTVERSIONSUFFIX= -g${GL_COMMIT:C/(.{12}).*/\1/} +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= x11-drivers MAINTAINER= x11@FreeBSD.org COMMENT= X.Org legacy driver for Intel integrated graphics chipsets LICENSE= MIT # various LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= amd64 i386 ONLY_FOR_ARCHS_REASON= Only Intel integrated GPUs on x86 are supported LIB_DEPENDS= libdrm_intel.so:graphics/libdrm USES= cpe localbase xorg xorg-cat:driver CPE_VENDOR= x USE_GITLAB= yes GL_COMMIT= ad5540f6ecaec287c70259f0181e613561b716f6 USE_XORG= pciaccess pixman CONFIGURE_ENV= ac_cv_header_sys_sysinfo_h=no # XXX ports/242236 CONFIGURE_ARGS= --with-builderstring="${DISTVERSIONFULL}" TEST_TARGET= check # XXX bug 214593: SNA crashes on pre-SandyBridge hardware CONFIGURE_ARGS+=--with-default-accel=uxa # XXX Remove after FreeBSD 11 EOL CPPFLAGS+= -D_WITH_GETLINE OPTIONS_DEFINE= UDEV XVMC OPTIONS_DEFAULT=UDEV XVMC OPTIONS_SUB= yes UDEV_DESC= udev-based monitor hotplug detection UDEV_LIB_DEPENDS= libudev.so:devel/libudev-devd UDEV_CONFIGURE_ENABLE= udev XVMC_LIB_DEPENDS= libxcb-util.so:x11/xcb-util XVMC_USE= XORG=x11,xcb,xvmc XVMC_CONFIGURE_ENABLE= xvmc XVMC_VARS= USE_LDCONFIG=yes post-patch: .if ${CONFIGURE_ARGS:M--with-default-accel=uxa} @${REINPLACE_CMD} '/^Default/s/SNA/UXA/' ${WRKSRC}/man/intel.man .endif .include Index: head/x11-drivers/xf86-video-intel/files/patch-prefer-iris =================================================================== --- head/x11-drivers/xf86-video-intel/files/patch-prefer-iris (nonexistent) +++ head/x11-drivers/xf86-video-intel/files/patch-prefer-iris (revision 557402) @@ -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; Property changes on: head/x11-drivers/xf86-video-intel/files/patch-prefer-iris ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property