Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157699054
D56888.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.diff
View Options
diff --git a/graphics/Makefile b/graphics/Makefile
--- a/graphics/Makefile
+++ b/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
diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile
--- a/graphics/drm-515-kmod/Makefile
+++ b/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
diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile
--- a/graphics/drm-61-kmod/Makefile
+++ b/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
diff --git a/graphics/drm-latest-kmod/Makefile b/graphics/drm-612-kmod/Makefile
copy from graphics/drm-latest-kmod/Makefile
copy to graphics/drm-612-kmod/Makefile
--- a/graphics/drm-latest-kmod/Makefile
+++ b/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
diff --git a/graphics/drm-612-kmod/Makefile.version b/graphics/drm-612-kmod/Makefile.version
new file mode 100644
--- /dev/null
+++ b/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
diff --git a/graphics/drm-612-kmod/distinfo b/graphics/drm-612-kmod/distinfo
new file mode 100644
--- /dev/null
+++ b/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
diff --git a/graphics/drm-612-kmod/files/pkg-message.in b/graphics/drm-612-kmod/files/pkg-message.in
new file mode 100644
--- /dev/null
+++ b/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
+}
+]
diff --git a/graphics/drm-612-kmod/pkg-descr b/graphics/drm-612-kmod/pkg-descr
new file mode 100644
--- /dev/null
+++ b/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, or FreeBSD 16 1600018 and above.
diff --git a/graphics/drm-612-kmod/pkg-plist b/graphics/drm-612-kmod/pkg-plist
new file mode 100644
--- /dev/null
+++ b/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
diff --git a/graphics/drm-66-kmod/Makefile b/graphics/drm-66-kmod/Makefile
--- a/graphics/drm-66-kmod/Makefile
+++ b/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
diff --git a/graphics/drm-kmod/Makefile b/graphics/drm-kmod/Makefile
--- a/graphics/drm-kmod/Makefile
+++ b/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 metaport
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
diff --git a/graphics/drm-latest-kmod/Makefile b/graphics/drm-latest-kmod/Makefile
--- a/graphics/drm-latest-kmod/Makefile
+++ b/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
Mon, May 25, 5:29 AM (12 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33499594
Default Alt Text
D56888.diff (7 KB)
Attached To
Mode
D56888: graphics/drm-612-kmod: new port
Attached
Detach File
Event Timeline
Log In to Comment