git: 6fef4101daa2 - main - graphics/mesa-dri: enable i915g

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Sat, 12 Aug 2023 20:57:18 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6fef4101daa2041a1dffdcde860a8b386d7a5f5f

commit 6fef4101daa2041a1dffdcde860a8b386d7a5f5f
Author:     sasamotikomi <sasamotikomi@gmail.com>
AuthorDate: 2023-08-12 20:45:57 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2023-08-12 20:56:50 +0000

    graphics/mesa-dri: enable i915g
    
    This is still supported by Mesa for gen2/3 hw not covered by crocus.
    
    PR:             269006
---
 graphics/mesa-dri/Makefile  | 7 ++++---
 graphics/mesa-dri/pkg-plist | 1 +
 graphics/mesa-libs/Makefile | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile
index e3382cab8a11..85b4c36cb7ff 100644
--- a/graphics/mesa-dri/Makefile
+++ b/graphics/mesa-dri/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mesa-dri
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	graphics
 
 COMMENT=	OpenGL hardware acceleration drivers for DRI2+
@@ -31,7 +31,8 @@ ZSTD_MESON_ENABLED=	zstd
 .include <bsd.port.options.mk>
 .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common"
 
-ALL_GALLIUM_DRIVERS=	CROCUS IRIS PANFROST R300 R600 RADEONSI SVGA SWRAST ZINK
+ALL_GALLIUM_DRIVERS=	CROCUS I915 IRIS PANFROST R300 R600 RADEONSI SVGA \
+			SWRAST ZINK
 ALL_VULKAN_DRIVERS=	INTEL AMD SWRAST
 
 GALLIUM_DRIVERS+=	SWRAST \
@@ -49,7 +50,7 @@ VULKAN_DRIVERS+=	AMD
 BUILD_DEPENDS+=		glslangValidator:graphics/glslang
 .endif
 .if ${ARCH} == amd64 || ${ARCH} == i386
-GALLIUM_DRIVERS+=	CROCUS IRIS SVGA
+GALLIUM_DRIVERS+=	CROCUS I915 IRIS SVGA
 VULKAN_DRIVERS+=	INTEL
 .endif
 
diff --git a/graphics/mesa-dri/pkg-plist b/graphics/mesa-dri/pkg-plist
index cb46f04fd16f..81d0d52662c5 100644
--- a/graphics/mesa-dri/pkg-plist
+++ b/graphics/mesa-dri/pkg-plist
@@ -10,6 +10,7 @@ include/GL/internal/dri_interface.h
 @comment include/KHR/khrplatform.h
 @comment include/gbm.h
 %%CROCUS_GDRIVER%%lib/dri/crocus_dri.so
+%%I915_GDRIVER%%lib/dri/i915_dri.so
 %%IRIS_GDRIVER%%lib/dri/iris_dri.so
 %%PANFROST_GDRIVER%%lib/dri/panfrost_dri.so
 %%PANFROST_GDRIVER%%lib/dri/rockchip_dri.so
diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile
index e58d62b50dc0..a32d819d6c45 100644
--- a/graphics/mesa-libs/Makefile
+++ b/graphics/mesa-libs/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mesa-libs
 PORTVERSION=	${MESAVERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 
 COMMENT=	OpenGL libraries that support GLX and EGL clients