graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers
The reason is to make them compatible with an upcoming change in
linuxkpi in FreeBSD src:
https://github.com/freebsd/drm-kmod/pull/502
Sponsored by: The FreeBSD Foundation
graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers
Several changes were made to all LTS drm-kmod branches:
1. All branches were updated with Makefile cleanups and fixes.
2. The addition of the `DMA_BUF_IOCTL_EXPORT_SYNC_FILE` and
`DMA_BUF_IOCTL_IMPORT_SYNC_FILE` ioctls was backported to the 6.1 and
6.6 branches.
3. A couple fixes to amdgpu and i915 drivers were committed to the 6.12
branch.
The corresponding `graphics/nvidia-drm-*-kmod` ports were updated to
reference the latest `graphics/drm-*-kmod` ports.
Sponsored by: The FreeBSD Foundation
all: drop support for FreeBSD 13, mips and risc64sf
Reviewed by: many (*)
Differential Revision: https://reviews.freebsd.org/D55624
Differential Revision: https://reviews.freebsd.org/D55642 (merged in from bofh)
many (*)
acm arrowd brooks cmt dch decke dinoex eduardo fluffy fuz gahr garga
jbeich joerg jrm kai kenrap martymac matthew mfechner michaelo mizhka
nobutaka pkubaj se tagattie thj
Anton Saietskii
GenericRikka
Gert Doering
Jan Bramkamp
Oleh Hushchenkov
Oleksandr Kryvulia
Ralf van der Enden
Yamagi
desktop kde python tcltk office
graphics/drm-66-kmod: Update to latest version
This fixes compilation with clang21 (defualt on FreeBSD 16)
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/drm-66-kmod: fix build with clang 21
With clang 21 graphics/drm-66-kmod fails to compile, with errors similar
to:
In file included from
/wrkdirs/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_9/drivers/gpu/drm/i915/i915_active.c:12:
/wrkdirs/usr/ports/graphics/drm-66-kmod/work/drm-kmod-drm_v6.6.25_9/drivers/gpu/drm/i915/gt/intel_ring.h:63:2:
error: default initialization of an object of type 'typeof (ring->size)' (aka
'const unsigned int') leaves the object uninitialized
[-Werror,-Wdefault-const-init-var-unsafe]
63 | typecheck(typeof(ring->size), next);
| ^
/usr/src/sys/compat/linuxkpi/common/include/linux/typecheck.h:31:9: note:
expanded from macro 'typecheck'
31 | ({ type __var1; \
| ^
The thread at https://lkml.org/lkml/2025/5/6/1681 appears to imply that
it is safe to suppress the new -Wdefault-const-init-var-unsafe warning.
PR: 292192
Approved by: emaste (maintainer)
MFH: 2026Q1
graphics/drm-6{1,6}-kmod: Fix build on current
Update the port to have code dealing with change in BUS_ALLOC_RESOURCE
Sponsored by: Beckhoff Automation GMbH & Co. KG
graphics/drm-*-kmod: Update DRM drivers to include an optimisation for AMD GPUs
This fixes important slowdowns with AMD GPUs after several hours of
uptime.
The optimisation was submitted by Olivier Cerner <olce@FreeBSD.org> in
the following pull request:
https://github.com/freebsd/drm-kmod/pull/377
The optimisation was submitted to all supported DRM driver version, from
5.10 to 6.6. The corresponding NVIDIA DRM ports were adapted at the same
time accordingly.
graphics/drm-66-kmod: Update to drm_v6.6.25_6
This change brings some cleanup to the FreeBSD-specific code. This also
solves a conflict with upcoming changes to linuxkpi.
See https://github.com/freebsd/drm-kmod/pull/368.
Sponsored by: The FreeBSD Foundation
graphics/drm-66-kmod: Update to drm_v6.6.25_5
This update fixes GPU acceleration when switching to VT and back to Xorg.
PR: 271995
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/drm-66-kmod: Fix port name in pkg-message
I'm specifically not bumping the PORTREVISION as the change in mostly
cosmetic.
Approved by: portmgr (blanket)
Fixes: 00508c01e276 graphics/drm-66-kmod: Add new port
graphics/drm-66-kmod: Update to drm_v6.6.25_4
Fixes issues with explicit fence and linux jiffies.
PR: 286311
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/drm-66-kmod: Fix conflict
WHile here add the conflict in all drm kmod ports for drm-66-kmod.
Reported by: Alonso Cárdenas Márquez <acm@FreeBSD.org>
Fixes: 00508c01e276 ("graphics/drm-66-kmod: Add new port")
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/drm-66-kmod: Add new port
Add drm-66-kmod which tracks linux 6.6-lts.
Currently synced with 6.6.25
Sponsored by: Beckhoff Automation GmbH & Co. KG