BSD Ports

graphics/drm-fbsd12.0-kmod 4.16.g20220126_1 MidnightBSD

DRM modules for the linuxkpi-based KMS components

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
418650c516
License
bsd2, mit, gpl2
Categories
graphics

Description

amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. Currently corresponding to Linux 4.16 DRM. This version is for MidnightBSD 3.x. amdgpu and radeonkms are known to fail with EFI boot.

Install

Binary package:

mport install drm-fbsd12.0-kmod

From mports:

cd /usr/mports/graphics/drm-fbsd12.0-kmod && make install clean

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

RUN_DEPENDS=	drm-fbsd12.0-kmod>0:graphics/drm-fbsd12.0-kmod

Dependencies

No port depends on this one.

Configuration

Options name: graphics_drm-fbsd12.0-kmod

OptionDefaultDescription
DEBUGoff
USES
kmod uidfix compiler:c++11-lang
Service scripts
none

Files

pkg-plist 9
  • %%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
  • %%AMDKFD%%/%%KMODDIR%%/amdkfd.ko
  • /%%KMODDIR%%/debugfs.ko
  • /%%KMODDIR%%/drm.ko
  • %%I915%%/%%KMODDIR%%/i915kms.ko
  • /%%KMODDIR%%/linuxkpi_gplv2.ko
  • /%%KMODDIR%%/radeonkms.ko
  • /%%KMODDIR%%/ttm.ko
  • %%VMWGFX%%/%%KMODDIR%%/vmwgfx.ko
distinfo 1
FileSizeSHA256
freebsd-drm-kmod-4.16.g20220126-drm_v4.16-fbsd12_GH0.tar.gz1.309761e+0794568e3478aa587394f54130256700aba810a8cf7e2b8d0e60e056d60945d784

Commit history 1

DateCommitCreditsLog message
418650c516 Lucas Holt graphics/drm-fbsd12.0-kmod: ignore on MidnightBSD 4 (#709)
## Summary - replace the ineffective `IGNORE_MidnightBSD_4.0` guard with the framework-supported `IGNORE_MidnightBSD_4` guard - prevent the obsolete FreeBSD 12.0 LinuxKPI module from compiling against incompatible MidnightBSD 4.x headers - addresses Magus run 646 port 2242128 ## Validation - `bmake -V IGNORE` reports `too new` - `bmake build` stops at the expected guard before compilation - `portlint -C` reports 0 fatal errors and 14 pre-existing warnings - `git diff --check` The branch uses an `-m4` suffix because the conventional branch name is occupied by closed PR #659 and cannot be updated safely without rewriting its history. ## Summary by Sourcery Enhancements: - Align the MidnightBSD 4 ignore condition in the drm-fbsd12.0-kmod …