amdgpu, i915, and radeon DRM modules for the linuxkpi-based
KMS components.
Currently corresponding to Linux 5.5.19 DRM.
This version is the development version and only works on FreeBSD CURRENT.
WWW: https://github.com/freebsd/drm-kmod
===> The following configuration options are available for drm-devel-kmod-5.7.19.g20220223:
DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
The experimental drm-devel-kmod port can be enabled for amdgpu (for AMD
GPUs starting with the HD7000 series / Tahiti), radeonkms for older AMD GPUs
or i915kms (for Intel APUs starting with HD3000 / Sandy Bridge, possibly even
older) through kld_list in /etc/rc.conf.
For amdgpu and radeonkms, there have been reports of issues when using UEFI
firmware boot. You might need to disable the console by adding
hw.syscons.disable=1 to /boot/loader.conf . Please note that this will
disable the console until the graphics driver is loaded.
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-devel-kmod: Update to v5.7.19_2
- Add amdgpu "Green sardine" to supported device Id list as "reported to work"
- Fix some routines to return an error instead of triggering panic
- Allow i915kms build with in-base linux/pm_qos.h
PR: 261937
Approved by: x11 (manu)
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: 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>
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-devel-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-devel-kmod: Require latest gpu-firmware
While here :
- Remove mention of drm-legacy
- Adjust kld_list usage (no need for the full path in 13-CURRENT)
- Update pkg-descr to have the correct version
- Remove comment that says that amdgpu and radeon fails with UEFI,
this is not the case for me although there might be some problems
with some bios so leave that part in pkg-message.
Sponsored by: The FreeBSD Foundation
graphics/drm-devel-kmod: Update to v5.4.62
This update the drm drivers to be in sync with Linux v5.4.62
This also set the default for psr (Panel Self Refresh) for i915 to disable.
There is some issue in our code that make the console not refreshing as it
should and since I don't have the hardware to reproduce simply change the
default
for us.
This also change the power_well default in i915 to have them always enabled. We
likely
miss something related to this for FreeBSD and this cause a spam on the console
when
using HDMI.
Sponsored by: The FreeBSD Foundation
graphics/drm-devel-kmod: Update to latest version
This fix the vboxvideo module. Console doesn't update, one need to
interact with the vbox gui so it's refreshed.
I don't know yet if it's a vbox problem or drm driver one.
While here update pkg-descr to have the correct url and info.
Sponsored by: The FreeBSD Foundation
Update drm-devel-kmod to 5.3
This put us in sync with Linux 5.3 drm drivers with one cavehat: Navi10 AMDGPU
support, an issue is created upstream and we hope to have it working soon.
https://github.com/freebsd/drm-kmod/issues/10
graphics/drm-devel-kmod: Update to latest 5.2
This update the drm-devel-kmod port to track the freebsd/drm-kmod github repo
and update the code to the latest one which track Linux 5.2 kernel
Sponsored-by: The FreeBSD Foundation
Approved by: x11 (zeising@ over irc)
graphics/drm-devel-kmod: Update snapshot
Update graphics/drm-devel-kmod to the latest snapshot.
This update contains several fixes:
Fix build on latest CURRENT
Improvements to make Vega 3 (Raven 2) work
Improvements to diagnostics and debug messages.
graphics/drm-devel-kmod: Update snapshot
Update the graphics/drm-devel-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-devel-kmod: Install vboxdrv
Install vboxdrv unkonditionally on amd64 and i386. It was not installed for
older FreeBSD versions, but we don't support those any more.
graphics/drm-devel-kmod: Update snapshot
Update graphics/drm-devel-kmod to the latest snapshot.
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
Add devctl (devd) notification for monitor hotplug
Remove support for older FreeBSD versions and bump the minimum version
requirements to FreeBSD 1300055.
graphics/drm-devel-kmod: Enable on arm64
Enable drm-devel-kmod build on arm64.
Submitted by: andrew
Differential Revision: https://reviews.freebsd.org/D23437
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-devel-kmod: Bump portversion
Bump the portversion of graphics/drm-devel-kmod, this was forgotten in the
previous commit.
Reroll distinfo, because of how github distinfo works, the name changes when
the portversion changes.
Reported by: jbeich
graphics/drm-devel-kmod: Update snapshot
Update graphics/drm-devel-kmod to the latest snapshot
This update fixes the build on current, improves handling when switching
VT console and contains some further minor fixes.
graphics/drm-devel-kmod: Update snapshot
Update graphics/drm-devel-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
Fix packaging on powerpc64
Fix packaging on powerpc64, the vboxvideo driver isn't installed there.
While here, replace space with tabs.
PR: 241478
Submitted by: pkubaj
graphics/drm-devel-kmod: Update snapshot
Update graphics/drm-devel-kmod to the latest snapshots. This includes
runtime fixes on recent CURRENT, as well as minor fixes to aarch64, ppc64
and sysfs usage.
graphics/drm-devel-kmod: Update snapshot
Update snapshot with fixes for powerpc64 elfv2, fixes when printing a
sysctl, fixes for a use after free in the wmvgfx driver and fixes in
anticipation of updates to current.
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
graphics/drm-devel-kmod: Update snapshot
Update graphics/drm-devel-kmod to the latest snapshot.
Summary of changes:
Fixes a memory leak
Improves debugfs and debug capabilities
Adds the new vboxvideo.ko driver, an experimental driver for virtualbox
graphics. This is enabled on amd64 and i386.
MFH: 2019Q3 (implicit, drm-drivers blanket)
Sponsored by: B3 Init
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)
graphics/drm-devel-kmod: fix package
Fix packaging of graphics/drm-devel-kmod, the amdkfd module has been
disabled, and I missed this last night. Remove it from the pkg-plist by
commenting it out for all architectures for now.
This is a stop gap measure to get the port to package, until I can touch
base with johalun and jmd about how to handle this permanently.
MFH: 2019Q2 (implicit, drm-drivers blanket)
Sponsored by: B3 Init
add graphics/drm-devel-kmod
Add graphics/drm-devel-kmod, development version of the lkpi based DRM
graphics drivers. This version is experimental, and for recent CURRENT
only.
This version currently corresponds to Linux 5.0 DRM drivers, and should give
better support for more recent Intel and AMD GPUs.
Please note that this port is copied from drm-current-kmod, rather than
resurrected from the old drm-devel-kmod port, that's because
drm-current-kmod was created by copying the old drm-devel-kmod when that
went to a more stable version.
Big thank you to everyone who has worked on this, and johalun in particuar,
who has done most of the heavy lifting.
Approved by: jmd (maintainer, implicit)
MFH: 2019Q2 (implicit, drm-drivers blanket)
Sponsored by: B3 Init
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
graphics/drm-devel-kmod: update to latest snapshot
This importantly brings initial support on powerpc64 for amdgpu and radeon.
Obtained from: mmacy (powerpc64) via FreeBSDDesktop
graphics/drm-devel-kmod: Fix runtime
Fix runtime after stolen memory handling was comitted. Use FreeBSD 1200086
as delimiter, since FreeBSD versions wasn't bumped for the stolen memory
commit.
Graphics/drm-*-kmod: Update pkg-message
Update pkg-message in drm-stable-kmod, drm-next-kmod and drm-devel-kmod and
point people to drm-legacy-kmod for the legacy drm drivers.
Approved by: jmd (maintainer, implicit)
graphics/drm-next-kmod: Update snapshot
Update graphics/drm-next-kmod to the latest snapshot. This contains fixes
for vaapi rendering and possibly also other rendering bugs.
Approved by: jmd (maintainer, implicit)
Obtained from: FreeBSD Graphics Team
MFH: 2018Q4
graphics/drm-devel-kmod: Update snapshot
This updates to the latest snapshot, which fixes a mistake in the AMD
GPU codepaths.
Approved by: jmd (maintainer, implicit)
graphics/drm-devel-kmod: update to later revision.
Implements pci_{save,restore}_state functions. Bumps DRM version to Linux 4.16
equivalent.
While there, fix pkg-message.
Approved by: zeising (mentor, implicit)
Obtained from: FreeBSDDesktop
new port: graphics/drm-legacy-kmod
This port contains the drm1 and drm2 legacy bits from base.
Reviewed by: seanc, zeising (mentor), mat
Approved by: seanc, zeising (mentor)
Differential Revision: https://reviews.freebsd.org/D16823
Add new port: graphics/drm-devel-kmod.
Add new port: graphics/drm-devel-kmod. This is a development version of the
drm kmod ports. It is currently on par with Linux version 4.15, which
includes amongs others support for AMD Vega. This version is currently only
supported on recent versions of FreeBSD CURRENT.
Be aware that since this is a development version, there might be bugs and
regressions. If you find any issues, please report them to us.
Approved by: jmd (maintainer)
Obtained
from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/drm-kmod