Commit Graph

50 Commits

Author SHA1 Message Date
Emmanuel Vadot 2b1ce014fa 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
2021-01-30 12:06:10 +00:00
Emmanuel Vadot 295163e981 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
2021-01-29 10:11:27 +00:00
Emmanuel Vadot e358338aee drm-current-kmod: Re-add OSVERSION check
Pointy hat to: manu
2021-01-28 22:20:02 +00:00
Emmanuel Vadot 190f3c64d6 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
2021-01-28 22:18:06 +00:00
Emmanuel Vadot 5bccd39b15 drm-{current,devel}-kmod: Update to v5.4.92
While here only allow building on FreeBSD 14 and remove
some extra CONFLICTS_INSTALL that cannot happens.
2021-01-28 16:56:52 +00:00
Rene Ladan 74bd0a5a2f 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
2021-01-24 17:16:15 +00:00
Emmanuel Vadot fe578a0a57 graphics/drm-{current,devel}-kmod: Update to latest source
Fix radeon for __FreeBSD_version >= 1300135

Reported by:	tilj
2021-01-18 22:29:07 +00:00
Emmanuel Vadot a4905b1473 drm-{current,devel}-kmod: Update to latest sources
Include needed change for new irq_work code from base.
2021-01-17 11:56:07 +00:00
Emmanuel Vadot 7c088fdf88 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>
2021-01-13 11:22:25 +00:00
Emmanuel Vadot ce0590c68b 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.
2021-01-12 12:30:09 +00:00
Mateusz Piotrowski 25e14f16ef 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
2020-11-11 15:54:39 +00:00
Emmanuel Vadot db9be57be0 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
2020-11-09 13:37:12 +00:00
Emmanuel Vadot 980f6577c2 graphics/drm-{current,devel}-kmod: Update to 5.4.62.g20201003
Fix backlight in i915kms
Add dependancy to backlight after 1300118
2020-10-03 08:33:13 +00:00
Emmanuel Vadot 99bec7b5d2 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
2020-10-02 19:00:54 +00:00
Mark Linimon ce8063e198 Allow building on powerpc64le.
Approved by:	portmgr (tier-2 blanket)
2020-09-24 21:25:31 +00:00
Emmanuel Vadot bd6dcdd238 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
2020-09-14 09:46:36 +00:00
Emmanuel Vadot 3b5bb06f1d graphics/drm-current-kmod: Add a patch
So module build when sources are installed in LOCAL_MODULES_DIR
2020-09-10 16:19:56 +00:00
Emmanuel Vadot 29a4da5c38 graphics/drm-current-kmod: Add forgotten file
Pointy hat to:		   manu
2020-09-10 16:09:32 +00:00
Emmanuel Vadot 15482f3068 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
2020-09-10 15:36:13 +00:00
Niclas Zeising d9b8d3b2b3 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.
2020-03-20 22:09:55 +00:00
Niclas Zeising 4b7171b07e 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.
2020-02-21 20:46:30 +00:00
Niclas Zeising 984366c167 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
2020-01-15 13:54:10 +00:00
Niclas Zeising 3e138bb50e grapics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot to fix the build on
current.
2019-12-17 21:30:14 +00:00
Niclas Zeising 0797ca54ad 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
2019-11-20 11:29:31 +00:00
Niclas Zeising 4cde7b7cf9 graphics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot, which fixes runtime
issues and panics on recent CURRENT.
2019-10-23 08:28:08 +00:00
Niclas Zeising c9ea200b5d graphics/drm-current-kmod: Update snapshot
This reverts the workaround for opt_trace.h issues in CURRENT, since these
have been resolved in base.
2019-09-27 10:00:37 +00:00
Niclas Zeising 870b4a32fb graphics/drm-current-kmod: Update snapshot
Fix build on latest current, after r352707.

MFH:		2019Q3 (implicit, drm-drivers blanket)
2019-09-26 15:44:03 +00:00
Niclas Zeising 357908cddc 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)
2019-09-18 15:20:52 +00:00
Niclas Zeising 979fe330ce 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.
2019-08-28 08:18:02 +00:00
Niclas Zeising b7cec95866 graphics/drm-current-kmod: Update snapshot
Fix build on latest current.
2019-08-27 12:54:08 +00:00
Niclas Zeising 930dbe6af1 graphics/drm-current-kmod: Update snapshot
Fix build on latest CURRENT

MFH:		2019Q3 (implicit, drm-drivers blanket)
Sponsored by:	B3 Init
2019-08-14 21:05:17 +00:00
John Baldwin 383634f2bd 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
2019-08-13 21:51:22 +00:00
Niclas Zeising 87b5be1ef2 graphics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod to the latest snapshot.  Fixes a panic on
ppc64 POWER9.

FreeBSD Graphics issue:	#161
			https://github.com/FreeBSDDesktop/kms-drm/issues/161
MFH:		2019Q3 (implict, drm-drivers blanket)
2019-08-06 22:15:37 +00:00
Gerald Pfeifer ea8c8ec7da 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
2019-07-26 20:46:53 +00:00
Niclas Zeising 1518d94210 graphics/drm-current-kmod: Update snapshot
Update graphics/drm-current-kmod snapshot to fix build on CURRENT after
r350199.

FreeBSDDesktop issue:	#160
MFH:			2019Q3 (implicit, drm-driver blanket)
Sponsored by:		B3 Init
2019-07-22 17:19:44 +00:00
Niclas Zeising 8e40a72997 graphics/drm-current-kmod: Update snapshot
Update snapshot of graphics/drm-curent-kmod to include a fix for a memory
leak.

FreeBSD Graphics issue:	#55
			https://github.com/FreeBSDDesktop/kms-drm/issues/155
PR:		238925
Reported by:	Ting-Wei Lan
MFH:		2019Q3 (implicit, drm-drivers blanket)
Sponsored by:	B3 Init (zeising)
2019-07-10 14:50:12 +00:00
Niclas Zeising 2257fae092 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)
2019-07-09 20:20:28 +00:00
Niclas Zeising 32560c7738 graphics/drm-current-kmod: Adjust FreeBSD compat
Update the FreeBSD OSVERSION compat of drm-current-kmod after the latest
update in r502043.

Suggested by:	jbeich
Discussed with:	johalun
Aproved by:	jmd (maintainer, implicit)
MFH:		2019Q2 (implicit, drm-drivers blanket)
Sponsored by:	B3 Init
2019-05-20 20:38:58 +00:00
Niclas Zeising 5583a56972 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
2019-05-20 20:29:56 +00:00
Niclas Zeising aa545dbc8c 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
2019-05-19 20:02:58 +00:00
Niclas Zeising 117d2b65f2 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)
2019-04-30 20:27:54 +00:00
Johannes M Dieterich a099a6791f graphics/drm-current-kmod: Update to latest snapshot.
Fixes compilation on recent HEAD.
2019-04-25 04:42:30 +00:00
Niclas Zeising f54df322f9 graphics/drm-current-kmod: update snapshot
Update graphics/drm-current-kmod to the latest snapshot.  This fixes issues
where the readeon driver didn't depend on the ttm module.

Reported by:	johalun
Approved by:	jmd (implicit)
MFH:		2019Q1 (implicit approval, drm driver blanket)
2019-03-23 01:18:07 +00:00
Niclas Zeising a411c3a1d3 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)
2019-03-22 13:34:57 +00:00
Niclas Zeising 5816f8e67c 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
2019-03-05 21:47:22 +00:00
Niclas Zeising 0cf2587695 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)
2019-02-13 21:07:13 +00:00
Niclas Zeising 2c0f6ac987 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)
2019-01-30 07:58:00 +00:00
Johannes M Dieterich 7ebeffbae9 graphics/drm-current-kmod: update to latest snapshot
Fixes crash when running sysctl -a.

Reviewed by:	zeising (x11)
Approved by:	zeising (x11)
Differential Revision:	https://reviews.freebsd.org/D18509
2018-12-12 02:13:56 +00:00
Gerald Pfeifer a9f015d155 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
2018-12-12 01:35:33 +00:00
Johannes M Dieterich bfbf8bd33e 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
2018-12-10 03:02:11 +00:00