Commit graph

64 commits

Author SHA1 Message Date
Emmanuel Vadot
22f113cd6f 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
2022-01-28 10:59:16 +01:00
Emmanuel Vadot
1b1552cf61 graphics/drm-current-kmod: Fix plist with SOURCE option
PR:	261182
Sponsored by:	Beckhoff Automation GmbH & Co. KG
2022-01-14 14:40:00 +01:00
Vladimir Kondratyev
4519b9e814 graphics/drm-{fbsd13,current,devel}-kmod: Update after drm-kmod lkpi 5.7
PR:		260807
Approved by:	x11 (manu)
2022-01-10 19:19:48 +03:00
Alexey Dokuchaev
61b6613393 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.
2021-10-25 12:58:29 +00:00
Emmanuel Vadot
7b66dded88 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
2021-10-12 11:00:13 +02:00
Vladimir Kondratyev
315ea99b7a graphics/drm-{current,devel}-kmod: Update after 1400034
PR:		258788
Approved by:	x11 (manu)
2021-09-30 00:50:01 +03:00
Vladimir Kondratyev
d7fa6386aa graphics/drm-{current,fbsd13}-kmod: Update to v5.4.144
PR:		258379
Approved by:	x11 (manu)
2021-09-09 14:07:29 +03:00
Emmanuel Vadot
bba050322d graphics/drm-{current,devel}-kmod: Update after 1400015 2021-05-26 09:55:37 +02:00
Emmanuel Vadot
7c1c47427f graphics/drm-{current,devel}-kmod: Update to 5.4.92.g20210419
- Fix kernel panic with sysctl -a when a NAVI10 gpu is present.
2021-04-19 10:14:25 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Emmanuel Vadot
73d3fff0c7 graphics/drm-current-kmod: Restore EOM in pkg-message that was accidentaly removed
Reported by:	dvl
2021-02-28 12:25:27 +00:00
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
f679cf808a drm-{current,devel}-kmod: Update distinfo
Reported by:	glebius
2021-01-28 23:26:59 +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
Mathieu Arnold
79698c8457 Convert to UCL & cleanup pkg-message (categories e-g) 2019-08-13 16:03:11 +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