amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components.
Currently corresponding to Linux 5.4.114 DRM.
This version is for FreeBSD CURRENT.
WWW: https://github.com/freebsd/drm-kmod/
===> The following configuration options are available for drm-current-kmod-5.4.144.g20220223:
DEBUG=off: Build with debugging support
SOURCE=off: Install kernel module sources
===> Use 'make config' to modify these settings
The experimental drm-current-kmod 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 (similar to amdgpu).
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.
graphics: Delete drm-current-kmod and drm-devel-kmod
For now please use drm-510-kmod and if you have problems with it
please use drm-54-kmod and open a issue on https://github.com/freebsd/drm-kmod
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/drm-current-kmod: Update to 5.4.144.g20220128
- Fix a potential panic when kern.vt.splash_cpu is set [1]
- Do not depend on debugfs if not compiled with support
PR: 260896 [1]
Sponsored by: Beckhoff Automation GmbH & Co. KG
Style: improve ONLY_FOR_ARCHS_REASON (grammar, markup, etc.)
ONLY_FOR_ARCHS_REASON is used as part of the sentence and thus should
start with lower-case letter and not end with a period which is added
by the framework, similar to other knobs like BROKEN, IGNORE, et al.
While here, remove needless quoting, add missing Oxford comma, expand
contractions and jargonisms, use correct spelling for proper names.
graphics/drm-current-kmod: Update after FreeBSD 1400037
While here update the comment to reflect the correct version shipped.
And remove the comment about amdgpu and EFI as I never had the problem
so it's not something general.
Sponsored by: Beckhoff Automation GmbH & Co. KG
graphics/drm-{current,fbsd13}-kmod: Update pkg-message
Replace port name with the correct one.
Remove mention to drm-legacy-kmod as it was removed.
PR: 253092
MFH: 2021Q1
graphics/drm-current-kmod: Switch off SOURCE option by default
This causes too many problems when we update linuxkpi in base with functionality
that are also present in this ports.
While here update pkg-descr for both drm-current-kmod and drm-devel-kmod
so it matches the reality.
Discussed with: zeising, imp
graphics/drm-{current,devel}-kmod: Update plist
Those files have been removed from the tree.
While here bump the port version to the right one
Reported by: glebius
Hook drm-fbsd13-kmod to the maser drm-kmod port and bump its PORTREVISION.
Add new drm-fbsd13-kmod to the conflict lists of the other ports.
Be pedantic about version boundaries.
Approved by: manu (on ports-committers)
MFH: 2021Q1
graphics/drm-{current,devel}-kmod: Update to latest source
This fix a compilation problem with a pre 1300135 source tree.
Reported by: Filippo Moretti <filippomore@yahoo.com>
graphics/drm-current-kmod: Update to latest source after linuxkpi update in base
While here remove vboxvideo and vmwgfx as they having been not working for a
long time now.
Add missing files to pkg-plist
This fixes buildkernel when the SOURCE option is turned on:
===> drm-current-kmod (all)
--- all_subdir_drm-current-kmod/linuxkpi ---
===> drm-current-kmod/linuxkpi (all)
make[4]: make[4]: don't know how to make dma-resv.c. Stop
Approved by: manu
drm-current-kmod/drm-devel-kmod: Update to latest version
- Use acpi code from base (thanks to wulf@)
- Add radeon/i386 patches (thanks to tilj@)
- Translate O_ flags for linuxulator (thanks to Greg V)
- Lot of linuxkpi cleanup
- Hack for amdgpu when the IP isn't init properly, this happens
on one of my laptop with a dGPU. We still don't support it but
we don't panic when we load amdgpu
graphics/drm-current-kmod: Update to 5.4.62.g20201002
This will use the backlight(9) framework from base if it's recent
enough.
Sponsored by: The FreeBSD Foundation
graphics/drm*kmod: Update to latest upstream
drm-current-kmod/drm-devel-kmod:
- Remove local patch, code is upstream now
- Fix amdgpu build on powerpc64
- Depend on latest gpu-firmware-kmod (for navi14 and renoir users)
drm-kmod:
- Need FreeBSD 1300108, missed in r548208
graphics/drm-current-kmod: Update to drm_v5.4.62
This update drm-current-kmod to be in sync with the latest Linux LTS
release.
aarch64 is also now supported for amdgpu and radeon.
vboxvideo is now added.
Reviewed by: x11 (zeising@)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26367
graphics/drm-current-kmod: Update snapshot
Update the graphics/drm-current-kmod snapshot to the latest version.
This includes fixes to make it build on current and changes to make it work
with pending VM changes.
graphics/drm-current-kmod: Update snapshot
Update the snapshot of graphics/drm-current-kmod.
This fixes the build on latest current
Make unsynchronized DRM_IOCTL_I915_GEM_USERPTR work in mesa on 7th
generation Haswell graphics. This is needed for vulkan.
Remove support for older FreeBSD versions and bump the minimum version
requirements to FreeBSD 1300052.
graphics/drm-kmod ports: Update snapshots
Update snapshots of all linux KPI based DRM graphics driver ports.
This update fixes an information disclosure security vulnerability.
Please note that only the drivers for intel GPUs are affected.
MFH: 2020Q1
Security: d2c2c815-3793-11ea-8be3-54e1ad3d6335
graphics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot. This is a security
update, containing fixes for local privilege escalation and denial of
service bugs, as part of the Intel 2019.2 IPU
MFH: 2019Q4 (implicit, security, drm-drivers blanket)
Security: ecb7fdec-0b82-11ea-874d-0c9d925bbbc0
graphics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot, which fixes runtime
issues and panics on recent CURRENT.
graphics/drm-current-kmod: Update snapshot
Update drm-current-snapshot. This has been reported to fix some issues on
recent current.
MFH: 2019Q3 (implicit, drm-drivers blanket)
graphics/drm-current-kmod: Update snapshot
Update snapshot with fixes for powerpc64 elfv, fixes when printing a sysctl
and fixes in anticipation of updates to current.
Install kernel module sources for drm-current-kmod.
Install kernel module sources and makefiles to
$PREFIX/sys/modules/drm-current-kmod. This permits kernel builds to
build the DRM modules as part of buildkernel via the LOCAL_MODULES
framework. These modules are installed to the kernel's directory and
are then preferred to the generic modules installed in /boot/modules.
The installation of sources is controlled by a new SOURCES option
which defaults to on.
Reviewed by: zeising, manu
Differential Revision: https://reviews.freebsd.org/D20990
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Change maintainer of all drm kmod ports to x11@
Change maintainer of all drm kmod ports to x11@FreeBSD.org. This way, PRs,
notice about build breakages from package builds and so on goes to the
entire x11@ team, and not just one member.
Approved by: jmd (maintainer)
drm-kmod ports: Update conflicts
Update conflicts for all drm-kmod ports to take into account the new
drm-devel-kmod port.
MFH: 2019Q2 (implicit, drm-driver blanket)
Sponsored by: B3 Init
graphics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot.
This update takes into account changes in lkpi in base, and makes use of
debugfs in base, instead of the bundled one.
note: If you are on an older version of current, prior to r347973, you might
need to update current first, before updating this driver.
Approved by: jmd (maintainer, implicit)
MFH: 2019Q2 (implicit, drm-driver blanket)
Sponsored by: B3 Init
Update drm driver snapshots
Update the drm drivers for current (drm-current-kmod) and for 12
(drm-fbsd12.0-kmod) to their respective latest snapshots.
This includes fixes to debugging output using debugfs.
Approved by: jmd (maintainer, implicit)
MFH: 2019Q2 (implicit approval, drm-drivers blanket)
Sponsored by: B3 Init (zeising)
grpahics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot. This breaks out
the ttm layer to its own module to have things initialized in the correct
order.
Fixes FreeBSDDesktop drm-kms issue #137
Submitted by: johalun
Approved by: jmd (maintainer, implicit)
MFH: 2019Q1 (implicit approval, drm driver blanket)
Update drm kmods for current and FreeBSD 12.0
Update graphics/drm-current-kmod and graphics/drm-fbsd12.0-kmod to their
respective latest snapshots.
This fixes a bug where a non-recursive mutex was used recursively in certain
conditions.
See https://github.com/FreeBSDDesktop/kms-drm/issues/134 for further details
FreeBSDDesktop issue: #134
Approved by: jmd (maintainer, implicit)
MFH: 2019Q1 (implicit approval, drm drivers)
Sponsored by: B3 Init
update drm-current and drm-fbsd12.0 snapshots
Update drm-current-kmod and drm-fbsd12.0-kmod to the latest snapshots.
This mutes console chatter about unimplemented stuff, which sometimes is
confusing.
Approved by: jmd (maintainer, implicit)
graphics/drm-current-kmod: Update messges
Update pkg-message and makefile COMMENT to remove references to
drm-devel-kmod and the mention that this is the development version. It is
the version for FreeBSD CURRENT, so the ride might be a little bumpy, but
it's not the devlopment version.
No changes to package.
FreeBSDDesktop issue: #129
Reported by: grahamperrin
Sponsored by: B3 Init (zeising)
Update pkg-descr to match reality
Update pkg-descr in drm-kmod ports to match reality in terms of which Linux
kernel version they correspond to and which FreeBSD version they are
supporting.
Noticed by: Graham Perrin
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
LinuxKPI-based DRM ports: move to new ports nomenclature.
After some discussions within the x11 team, it was decided to move to a new
nomenclature for the LinuxKPI-based DRM ports that correctly reflects the
FreeBSD version the ports are for. This will also allow us to move to dedicated
branches per FreeBSD release and eases porting work.
Functionally, this commit is a no-op as we are not moving to new snapshots.
Reflect the move in UPDATING and MOVED. Users using the graphics/drm-kmod meta
port should not be affected. Direct consumers of the DRM ports shall move, as
in MOVED, as follows:
drm-stable-kmod is drm-fbsd11.2-kmod
drm-next-kmod is drm-fbsd12.0-kmod
drm-devel-kmod is drm-current-kmod
Reviewed by: zeising (x11)
Approved by: zeising (x11)
Differential Revision: https://reviews.freebsd.org/D18328