BSD Ports

graphics/drm-61-kmod 6.1.128 MidnightBSD

DRM drivers modules

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Port added
Last update
Commit
012d4c4b02
License
bsd2, mit, gpl2
Categories
graphics

Description

amdgpu, i915, and radeon DRM drivers modules. Currently corresponding to Linux 6.1 DRM. This version is for MidnightBSD 4.2 and above.

In the other systems

The newest version among them is 6.1.128.1501503, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDgraphics/drm-61-kmod6.1.128no data-[email protected]2026-11-15
FreeBSDgraphics/drm-61-kmod6.1.128.1405500_11none known-[email protected]2026-09-09
HardenedBSDgraphics/drm-61-kmod6.1.128.1501503_11 newestno data-[email protected]-
GhostBSDgraphics/drm-61-kmod6.1.128.1501000_11no data-[email protected]-

Version history 1

  1. 6.1.128 6a9f550c17

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

mport install drm-61-kmod

From mports:

cd /usr/mports/graphics/drm-61-kmod && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	drm-61-kmod>0:graphics/drm-61-kmod

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
kmod uidfix compiler:c++11-lang
Service scripts
none
Conflicts with
drm-510-kmod drm-515-kmod drm-66-kmod

Files

pkg-plist 6
  • /%%KMODDIR%%/dmabuf.ko
  • %%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
  • /%%KMODDIR%%/drm.ko
  • %%I915%%/%%KMODDIR%%/i915kms.ko
  • /%%KMODDIR%%/radeonkms.ko
  • /%%KMODDIR%%/ttm.ko
distinfo 1
FileSizeSHA256
freebsd-drm-kmod-6.1.128-drm_v6.1.128_12_GH0.tar.gz3.7112282e+070a885b238bffb23f2d4054b9a34e7101613b31fc2469f7a00932f458cc953529

Commit history 2

DateCommitCreditsLog message
012d4c4b02 Lucas Holt graphics/drm-*-kmod: conflict with drm-66-kmod
drm-66-kmod installs the same kernel modules as drm-510-kmod, drm-515-kmod and drm-61-kmod and already lists them in CONFLICTS_INSTALL. Add it to their lists too, so the conflict is reported whichever port is installed second. No PORTREVISION bump: the installed files do not change. AI-Assisted-by: Claude Fable 5.2 Co-Authored-By: Claude Fable 5.2 <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
6a9f550c17 Lucas Holt graphics/drm-61-kmod: add port, DRM drivers from Linux 6.1
Add the amdgpu, i915 and radeon DRM kernel modules from drm-kmod 6.1.128 (drm_v6.1.128_12), based on the FreeBSD port of the same name. The 6.1 drm module has its own vt(4) console driver, which needs the vt support added to MidnightBSD src at __MidnightBSD_version 402006, so the port is ignored on anything older. It builds against the LinuxKPI from FreeBSD stable/15 without the linuxkpi_hdmi and pci_get_slot() patches drm-515-kmod carries. Patches, all carried over from drm-515-kmod: - dma-buf.c: fo_stat takes a thread argument - i915_gem_shmem.c: totalram_pages() is provided by LinuxKPI - i915_utils.c: print i915 messages without %pV and %ps - linux_fb.c: check main_vd before touching the vt softc Conflicts with drm-510-kmod and drm-515-kmod. …