amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components.
Currently corresponding to Linux 4.11 DRM. Experimental state. amdgpu and
radeonkms are known to fail with EFI boot.
WWW: https://github.com/FreeBSDDesktop/kms-drm
===> The following configuration options are available for drm-next-kmod-4.11.g20181027_1:
DEBUG=off: Build with debugging support
===> Use 'make config' to modify these settings
The drm-next-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="/boot/modules/i915kms.ko"
For radeonkms: kld_list="/boot/modules/radeonkms.ko"
Please ensure that all users requiring graphics are members of the
"video" group.
Older generations are supported by the legacy kms modules (radeonkms /
i915kms) in base or by installing graphics/drm-legacy-kmod.
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-*-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)
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by: rene
Reviewed by: bapt, jbeich
Differential Revision: https://reviews.freebsd.org/D17724
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-next-kmod and graphics/drm-stable-kmod: fix message
Acknowledge the reality that these ports are well tested by now.
Approved by: zeising (mentor, implicit)
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
Remove redundant kld from CATEGORIES if a port uses kmod.
"USES=kmod" already adds kld to CATEGORIES so it is unnecessary to set
CATEGORIES to kld explicitly.
PR: 228543
Reviewed by: krion (mentor)
Approved by: krion (mentor)
Differential Revision: https://reviews.freebsd.org/D16359
graphics/drm-next-kmod and graphics/drm-stable-kmod: bump PORTREVISION to
trigger new packages after CURRENT got
the recent inlining of locks feature.
While there, correct a type in pkg-messages reported on bugzilla.
PR: 229320 (for typo)
Approved by: zeising (mentor, implicit)
Update drm-* kmod ports to latest snapshots
Update drm-* kmod ports to latest snapshots. This just updates a typedef in
preparation for MFC of r334662.
Approved by: jmd (maintainer)
graphics/drm-next-kmod graphics/drm-stable-kmod: Update to latest snapshot
Update graphics kmods to latest snapshots to fix build issues on the very
latest current, past r334662
Approved by: jmd (maintainer, implicit, regression fix)
graphics/drm-stable-kmod, graphics/drm-next-kmod: Update to latest snapshot
This fixes a regression on CURRENT after some changes to lkpi in base r334482
Approved by: jmd (maintainer, implicit, regression fix)
MFH: 2018Q2
X-MFH-note: include r471110, better support for old GPUs in stable-kmod
Tested by: Johannes Lundberg
Fix dependency on gpu-firmware-kmod
Fix the dependency on gpu-firmware-kmod, the version used was about a year
off.
Bump portrevision since dependency changed.
Approved by: jmd (maintainer)
MFH: 2018Q2
X-MFH-notes: merge with r469162
Update drm-next-kmod, drm-stable-kmod and gpu-firmware-kmod to latest
versions from upstream git.
This brings:
* shorter module names for the GPU firmwares
* addition to the kld category for all three ports
* fixes from FreeBSDDesktop since last update
* fixes to build on latest current, after r333263 [0]
Submitted by: jmd, zeising [0]
Approved by: maintainer (jmd)
Differential Revision: https://reviews.freebsd.org/D14765 (based on)
MFH: 2018Q2
new port: graphics/drm-stable-kmod
This is a repo copy of the last 4.9 status of graphics/drm-next-kmod. While
drm-next-kmod serves as the experimental DRM/KMS port, this new port will always
trail it and be in a more stable state. This is not a guarantee that
drm-stable-kmod will receive all versions from drm-next-kmod, more likely there
will be jumps.
Mark the two ports as mutually conflicting.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D14584
graphics/drm-next-kmod: update DRM/KMS to Linux 4.11 level for recent CURRENT
and 11-STABLE.
This was tested with CURRENT on:
* Haswell
* Broadwell
* Skylake
* Evergreen
* Kaveri (both radeon and amgpu KMS)
* Carrizo
* Polaris
Thanks to Johannes Lundberg and Hans Petter Selasky for their heroic efforts!
Reviewed by: swills (mentor), rene (mentor)
Approved by: swills (mentor), rene (mentor)
Obtained from: FreeBSDDesktop
Differential Revision: https://reviews.freebsd.org/D14496
graphics/drm-next-kmod: update port to fix a build failure introduced by recent
changes to the base linuxkpi in HEAD. No functional change.
Reported by: Ian Freislich
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Obtained from: FreeBSDDesktop
graphics/drm-next-kmod and graphics/gpu-firmware-kmod: after MFC'ing the
relevant parts of the linuxkpi to 11-STABLE by hps allows us to now support the
Linux-based KMS bits there. Adjust the OSVERSION check accordingly.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Obtained from: FreeBSDDesktop / hps
Differential Revision: https://reviews.freebsd.org/D14424
graphics/drm-next-kmod: Update to a newer version that includes a patch to fix
32 bit ioctls for radeonkms.
Approved by: swills (mentor, implicit)
Obtained from: FreeBSDDesktop
graphics/drm-next-kmod: Bump portrevision to force rebuild. Recent changes to
HEAD (debugfs it seems) broke the previous binary package.
Reported by: nomadlogic (FreeBSDDesktop)
Approved by: swills (mentor)
graphics/drm-next-kmod: upgrade to a later github snapshot. Includes contributed
32bit ioctls and other fixes.
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D12613
graphics/drm-next-kmod: update to later github snapshot which includes
improvements made in response to bug reports and removes the collision of the
port's drm.ko with base drm.ko. Also increase the FreeBSD version check in
response to PR 221937. Additionally, improve pkg-message and note that radeonkms
is also available in this port.
PR: 221937
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D12348
graphics/drm-next-kmod: update to a later git revision that includes a patch by
jbeich to allow building the port when kernel source is not in /usr/src.
While there include a correction by hps (Linux, not linux).
Reported by: jbeich
Reviewed by: swills (mentor)
Approved by: swills (mentor)
Obtained from: jbeich, hps
Differential Revision: https://reviews.freebsd.org/D12160
New port: graphics/drm-next-kmod.
This port includes the current state of the FreeBSDDesktop drm-next efforts to
port Linux DRM/KMS components to FreeBSD via the linuxkpi. This version of the
port incorporates Linux 4.9 code and works for amdgpu (HD7000/Tahiti and newer)
and i915 (HD3000/Sandy Bridge and newer) on recent FreeBSD HEAD.
A lot of people helped to make this happen by testing and reporting bugs.
However, very special acknowledgements are in order for kip, markj, hselasky,
kwm, Johannes Lundberg, and Pete Wright.
Reviewed by: kwm, swills (mentor), hselasky, mat, bapt, rezny, dumbbell, jbeich,
markj
Approved by: kwm, swills (mentor), hselasky (earlier version), mat (earlier
version)
Obtained from: https://github.com/FreeBSDDesktop/freebsd-base-graphics
Differential Revision: https://reviews.freebsd.org/D10021