Skip to content

Commit

Permalink
graphics/mesa-dri: enable i915g
Browse files Browse the repository at this point in the history
This is still supported by Mesa for gen2/3 hw not covered by crocus.

PR:		269006
  • Loading branch information
sasamotikomi authored and kev009 committed Aug 12, 2023
1 parent 749eab0 commit 6fef410
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions 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+
Expand Down Expand Up @@ -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 \
Expand All @@ -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

Expand Down
1 change: 1 addition & 0 deletions graphics/mesa-dri/pkg-plist
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 6fef410

Please sign in to comment.