graphics/drm-54-kmod: Remove port

All version of FreeBSD starting from 13.1 can and should use
drm-510-kmod.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
MFH:		2022Q3

(cherry picked from commit a707d16a2d)
This commit is contained in:
Emmanuel Vadot 2022-09-07 11:46:06 +02:00
parent 5b603131a3
commit 1351c57c87
7 changed files with 1 additions and 86 deletions

1
MOVED
View File

@ -17492,3 +17492,4 @@ sysutils/pesign||2022-07-01|Has expired: Unmaintaned since 2016, very much out o
misc/ngraph||2022-07-15|Software is discontinued because its developer Nervana Systems is defunct
games/fishfight|games/jumpy|2022-08-02|Project renamed
graphics/drm-fbsd13-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod
graphics/drm-54-kmod|graphics/drm-510-kmod|2022-09-07|Obsolete, use graphics/drm-510-kmod

View File

@ -140,7 +140,6 @@
SUBDIR += drawing
SUBDIR += drawpile
SUBDIR += drm-510-kmod
SUBDIR += drm-54-kmod
SUBDIR += drm-fbsd12.0-kmod
SUBDIR += drm-kmod
SUBDIR += drm_info

View File

@ -1,53 +0,0 @@
PORTNAME= drm-54-kmod
PORTVERSION= 5.4.191
PORTREVISION= 1
CATEGORIES= graphics kld
MAINTAINER= x11@FreeBSD.org
COMMENT= DRM drivers modules
LICENSE= BSD2CLAUSE MIT GPLv2
LICENSE_COMB= multi
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64, i386, aarch64, and powerpc64
CONFLICTS_INSTALL= drm-devel-kmod drm-current-kmod drm-510-kmod
USES= kmod uidfix compiler:c++11-lang
USE_GITHUB= yes
GH_ACCOUNT= freebsd
GH_PROJECT= drm-kmod
GH_TAGNAME= drm_v5.4.191_1
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300136
IGNORE= not supported on older than 13.0, no kernel support
.endif
.if ${OPSYS} != FreeBSD
IGNORE= not supported on anything but FreeBSD (missing linuxkpi functionality)
.endif
.if ${ARCH} == "amd64"
PLIST_SUB+= AMDGPU=""
PLIST_SUB+= I915=""
.elif ${ARCH} == "i386"
PLIST_SUB+= AMDGPU="@comment "
PLIST_SUB+= I915=""
.elif ${ARCH} == "aarch64" || ${ARCH:Mpowerpc*}
PLIST_SUB+= AMDGPU=""
PLIST_SUB+= I915="@comment "
.else
PLIST_SUB+= AMDGPU="@comment "
PLIST_SUB+= I915="@comment "
.endif
MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj
pre-build:
${MKDIR} ${WRKSRC}/obj
(cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj)
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
TIMESTAMP = 1654524725
SHA256 (freebsd-drm-kmod-5.4.191-drm_v5.4.191_1_GH0.tar.gz) = 9d82509c8c870564dfbefa97eaa2df78a1a9d8f8d70ae8db1c233654e3e7ed5c
SIZE (freebsd-drm-kmod-5.4.191-drm_v5.4.191_1_GH0.tar.gz) = 18824394

View File

@ -1,5 +0,0 @@
amdgpu, i915, and radeon DRM drivers modules.
Currently corresponding to Linux 5.4.114 DRM.
This version is for FreeBSD 13.0 and above.
WWW: https://github.com/freebsd/drm-kmod/

View File

@ -1,18 +0,0 @@
[
{ type: install
message: <<EOM
The drm-54-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.
EOM
}
]

View File

@ -1,6 +0,0 @@
%%AMDGPU%%/%%KMODDIR%%/amdgpu.ko
/%%KMODDIR%%/drm.ko
%%I915%%/%%KMODDIR%%/i915kms.ko
/%%KMODDIR%%/linuxkpi_gplv2.ko
/%%KMODDIR%%/radeonkms.ko
/%%KMODDIR%%/ttm.ko