Index: head/graphics/drm-current-kmod/Makefile =================================================================== --- head/graphics/drm-current-kmod/Makefile (revision 563187) +++ head/graphics/drm-current-kmod/Makefile (revision 563188) @@ -1,78 +1,77 @@ # Created by: Johannes Dieterich # $FreeBSD$ PORTNAME= drm-current-kmod PORTVERSION= 5.4.92.g20210128 +PORTREVISION= 1 CATEGORIES= graphics kld MAINTAINER= x11@FreeBSD.org COMMENT= DRM modules for the linuxkpi-based KMS components 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 RUN_DEPENDS= gpu-firmware-kmod>=g20200914:graphics/gpu-firmware-kmod CONFLICTS_INSTALL= drm-devel-kmod OPTIONS_DEFINE= DEBUG SOURCE - -OPTIONS_DEFAULT= SOURCE SOURCE_DESC= Install kernel module sources OPTIONS_SUB= yes USES= kmod uidfix compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= freebsd GH_PROJECT= drm-kmod GH_TAGNAME= drm_v5.4.92_1 .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 IGNORE= not supported on older CURRENT, 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 KMODSRC= ${STAGEDIR}${PREFIX}/sys/modules/${PORTNAME} SRCDIRS= amd drivers drm i915 include linuxkpi radeon ttm vmwgfx vboxvideo PLIST_SUB+= KMODSRC="sys/modules/${PORTNAME}" MAKE_ENV+= MAKEOBJDIRPREFIX=${WRKSRC}/obj pre-build: ${MKDIR} ${WRKSRC}/obj (cd ${WRKSRC} ; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} obj) post-install-SOURCE-on: ${MKDIR} ${KMODSRC} ${INSTALL_DATA} ${WRKSRC}/Makefile ${KMODSRC} ${INSTALL_DATA} ${WRKSRC}/kconfig.mk ${KMODSRC} .for dir in ${SRCDIRS} cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${KMODSRC} .endfor .include Index: head/graphics/drm-current-kmod/pkg-descr =================================================================== --- head/graphics/drm-current-kmod/pkg-descr (revision 563187) +++ head/graphics/drm-current-kmod/pkg-descr (revision 563188) @@ -1,6 +1,6 @@ amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. -Currently corresponding to Linux 4.16 DRM. +Currently corresponding to Linux 5.4.92 DRM. This version is for FreeBSD CURRENT. amdgpu and radeonkms are known to fail with EFI boot. -WWW: https://github.com/FreeBSDDesktop/kms-drm +WWW: https://github.com/freebsd/drm-kmod/ Index: head/graphics/drm-devel-kmod/Makefile =================================================================== --- head/graphics/drm-devel-kmod/Makefile (revision 563187) +++ head/graphics/drm-devel-kmod/Makefile (revision 563188) @@ -1,57 +1,58 @@ # Created by: Johannes Dieterich # $FreeBSD$ PORTNAME= drm-devel-kmod PORTVERSION= 5.4.92.g20210128 +PORTREVISION= 1 CATEGORIES= graphics kld MAINTAINER= x11@FreeBSD.org COMMENT= DRM modules for the linuxkpi-based KMS components (development version) 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, arm64, i386 and powerpc64 RUN_DEPENDS= gpu-firmware-kmod>=g20200914:graphics/gpu-firmware-kmod CONFLICTS_INSTALL= drm-current-kmod OPTIONS_DEFINE= DEBUG USES= kmod uidfix compiler:c++11-lang USE_GITHUB= yes GH_ACCOUNT= freebsd GH_PROJECT= drm-kmod GH_TAGNAME= drm_v5.4.92_1 .include .if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400000 IGNORE= not supported on older CURRENT, 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+= AMDKFD="@comment " PLIST_SUB+= I915="" .elif ${ARCH} == "i386" PLIST_SUB+= AMDGPU="@comment " PLIST_SUB+= AMDKFD="@comment " PLIST_SUB+= I915="" .elif ${ARCH} == "aarch64" || ${ARCH:Mpowerpc*} PLIST_SUB+= AMDGPU="" PLIST_SUB+= AMDKFD="@comment " PLIST_SUB+= I915="@comment " .else PLIST_SUB+= AMDGPU="@comment " PLIST_SUB+= AMDKFD="@comment " PLIST_SUB+= I915="@comment " .endif .include Index: head/graphics/drm-devel-kmod/pkg-descr =================================================================== --- head/graphics/drm-devel-kmod/pkg-descr (revision 563187) +++ head/graphics/drm-devel-kmod/pkg-descr (revision 563188) @@ -1,6 +1,6 @@ -amdgpu, i915, radeon, vmwgfx and vboxvideo DRM modules for the linuxkpi-based +amdgpu, i915, and radeon DRM modules for the linuxkpi-based KMS components. -Currently corresponding to Linux 5.4.62 DRM. +Currently corresponding to Linux 5.4.92 DRM. This version is the development version and only works on FreeBSD CURRENT. WWW: https://github.com/freebsd/drm-kmod