Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157471786
D56888.id177453.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
7 KB
Referenced Files
None
Subscribers
None
D56888.id177453.diff
View Options
Index: graphics/Makefile
===================================================================
--- graphics/Makefile
+++ graphics/Makefile
@@ -159,6 +159,7 @@
SUBDIR += drm-515-kmod
SUBDIR += drm-61-kmod
SUBDIR += drm-66-kmod
+ SUBDIR += drm-612-kmod
SUBDIR += drm-kmod
SUBDIR += drm-latest-kmod
SUBDIR += drm_info
Index: graphics/drm-515-kmod/Makefile
===================================================================
--- graphics/drm-515-kmod/Makefile
+++ graphics/drm-515-kmod/Makefile
@@ -6,7 +6,7 @@
.include "Makefile.version"
MAINTAINER= x11@FreeBSD.org
-COMMENT= Direct Rendering Manager GPU drivers
+COMMENT= Direct Rendering Manager (DRM) GPU drivers
WWW= https://github.com/freebsd/drm-kmod/
LICENSE= BSD2CLAUSE MIT GPLv2
@@ -15,8 +15,10 @@
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 and powerpc64
-CONFLICTS_INSTALL= drm-61-kmod \
- drm-66-kmod
+CONFLICTS_INSTALL= drm-latest-kmod \
+ drm-61-kmod \
+ drm-66-kmod \
+ drm-612-kmod
USES= kmod uidfix compiler:c++11-lang
Index: graphics/drm-61-kmod/Makefile
===================================================================
--- graphics/drm-61-kmod/Makefile
+++ graphics/drm-61-kmod/Makefile
@@ -6,7 +6,7 @@
.include "Makefile.version"
MAINTAINER= x11@FreeBSD.org
-COMMENT= Direct Rendering Manager GPU drivers
+COMMENT= Direct Rendering Manager (DRM) GPU drivers
WWW= https://github.com/freebsd/drm-kmod/
LICENSE= BSD2CLAUSE MIT GPLv2
@@ -15,8 +15,10 @@
ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 and powerpc64
-CONFLICTS_INSTALL= drm-515-kmod \
- drm-66-kmod
+CONFLICTS_INSTALL= drm-latest-kmod \
+ drm-515-kmod \
+ drm-66-kmod \
+ drm-612-kmod
USES= kmod uidfix compiler:c++11-lang
Index: graphics/drm-612-kmod/Makefile
===================================================================
--- graphics/drm-612-kmod/Makefile
+++ graphics/drm-612-kmod/Makefile
@@ -1,11 +1,11 @@
-PORTNAME= drm-latest-kmod
+PORTNAME= drm-612-kmod
DISTVERSION= ${DRM_KMOD_DISTVERSION}
CATEGORIES= graphics kld
.include "Makefile.version"
MAINTAINER= x11@FreeBSD.org
-COMMENT= DRM drivers modules
+COMMENT= Direct Rendering Manager (DRM) GPU drivers
WWW= https://github.com/freebsd/drm-kmod/
LICENSE= BSD2CLAUSE MIT GPLv2
@@ -14,8 +14,10 @@
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64
-CONFLICTS_INSTALL= drm-515-kmod \
- drm-61-kmod
+CONFLICTS_INSTALL= drm-latest-kmod \
+ drm-515-kmod \
+ drm-61-kmod \
+ drm-66-kmod
USES= kmod uidfix compiler:c++11-lang
Index: graphics/drm-612-kmod/Makefile.version
===================================================================
--- /dev/null
+++ graphics/drm-612-kmod/Makefile.version
@@ -0,0 +1,5 @@
+# drm-kmod common version definition
+#
+# This will be included from consumers such as nvidia-drm
+DRM_KMOD_DISTVERSION= 6.12.85
+DRM_KMOD_GH_TAGNAME= drm_v6.12.85_1
Index: graphics/drm-612-kmod/distinfo
===================================================================
--- /dev/null
+++ graphics/drm-612-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1778246100
+SHA256 (freebsd-drm-kmod-6.12.85-drm_v6.12.85_1_GH0.tar.gz) = 418b81a5d83f269ecb6ac3cdab663684614df07ce87d65ebdab74889c0d6be9e
+SIZE (freebsd-drm-kmod-6.12.85-drm_v6.12.85_1_GH0.tar.gz) = 44075974
Index: graphics/drm-612-kmod/files/pkg-message.in
===================================================================
--- /dev/null
+++ graphics/drm-612-kmod/files/pkg-message.in
@@ -0,0 +1,22 @@
+[
+{ type: install
+ message: <<EOM
+The %%PORTNAME%% port can be enabled for amdgpu (for AMD
+GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
+APUs starting with HD3000 / Sandy Bridge) through kld_list in
+/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
+some positive reports if EFI boot is NOT enabled.
+
+For amdgpu: kld_list="amdgpu"
+For Intel: kld_list="i915kms"
+For radeonkms: kld_list="radeonkms"
+
+Please ensure that all users requiring graphics are members of the
+"video" group.
+
+Please note that this package was built for %%OPSYS%% %%OSREL%%.
+If this is not your current running version, please rebuild
+it from ports to prevent panics when loading the module.
+EOM
+}
+]
Index: graphics/drm-612-kmod/pkg-descr
===================================================================
--- /dev/null
+++ graphics/drm-612-kmod/pkg-descr
@@ -0,0 +1,4 @@
+amdgpu, i915, and radeon DRM drivers modules.
+Currently corresponding to Linux 6.12 DRM.
+This version is for FreeBSD 15 1500509
+and above.
Index: graphics/drm-612-kmod/pkg-plist
===================================================================
--- /dev/null
+++ graphics/drm-612-kmod/pkg-plist
@@ -0,0 +1,6 @@
+/%%KMODDIR%%/dmabuf.ko
+/%%KMODDIR%%/amdgpu.ko
+/%%KMODDIR%%/drm.ko
+/%%KMODDIR%%/i915kms.ko
+/%%KMODDIR%%/radeonkms.ko
+/%%KMODDIR%%/ttm.ko
Index: graphics/drm-66-kmod/Makefile
===================================================================
--- graphics/drm-66-kmod/Makefile
+++ graphics/drm-66-kmod/Makefile
@@ -6,7 +6,7 @@
.include "Makefile.version"
MAINTAINER= x11@FreeBSD.org
-COMMENT= Direct Rendering Manager GPU drivers
+COMMENT= Direct Rendering Manager (DRM) GPU drivers
WWW= https://github.com/freebsd/drm-kmod/
LICENSE= BSD2CLAUSE MIT GPLv2
@@ -15,8 +15,10 @@
ONLY_FOR_ARCHS= amd64
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64
-CONFLICTS_INSTALL= drm-515-kmod \
- drm-61-kmod
+CONFLICTS_INSTALL= drm-latest-kmod \
+ drm-515-kmod \
+ drm-61-kmod \
+ drm-612-kmod
USES= kmod uidfix compiler:c++11-lang
Index: graphics/drm-kmod/Makefile
===================================================================
--- graphics/drm-kmod/Makefile
+++ graphics/drm-kmod/Makefile
@@ -1,10 +1,9 @@
PORTNAME= drm-kmod
-PORTVERSION= 20250428
-PORTREVISION= 1
+PORTVERSION= 20260508
CATEGORIES= graphics
MAINTAINER= x11@FreeBSD.org
-COMMENT= Direct Rendering Manager GPU drivers metaport
+COMMENT= Direct Rendering Manager (DRM) GPU drivers
WWW= https://github.com/freebsd/drm-kmod
USES= metaport
@@ -16,7 +15,10 @@
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
.else
-. if ${OSVERSION} >= 1500031 && ${ARCH} == amd64
+. if ${OSVERSION} >= 1500509 && ${ARCH} == amd64
+RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-612-kmod
+_DRM_ARCHS= amd64
+. elif ${OSVERSION} >= 1500031 && ${ARCH} == amd64
RUN_DEPENDS+= ${KMODDIR}/drm.ko:graphics/drm-66-kmod
_DRM_ARCHS= amd64
. else
Index: graphics/drm-latest-kmod/Makefile
===================================================================
--- graphics/drm-latest-kmod/Makefile
+++ graphics/drm-latest-kmod/Makefile
@@ -5,7 +5,7 @@
.include "Makefile.version"
MAINTAINER= x11@FreeBSD.org
-COMMENT= DRM drivers modules
+COMMENT= Direct Rendering Manager (DRM) GPU drivers
WWW= https://github.com/freebsd/drm-kmod/
LICENSE= BSD2CLAUSE MIT GPLv2
@@ -15,7 +15,9 @@
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64
CONFLICTS_INSTALL= drm-515-kmod \
- drm-61-kmod
+ drm-61-kmod \
+ drm-66-kmod \
+ drm-612-kmod
USES= kmod uidfix compiler:c++11-lang
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 22, 8:12 PM (16 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33429650
Default Alt Text
D56888.id177453.diff (7 KB)
Attached To
Mode
D56888: graphics/drm-612-kmod: new port
Attached
Detach File
Event Timeline
Log In to Comment