From nobody Sun May 01 17:24:23 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 9FCA01AB9603; Sun, 1 May 2022 17:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KrtPg2rTwz4qWL; Sun, 1 May 2022 17:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651425863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4gpqvPh8M6PbeKsM24XXCG89Uyb+O06BKR0TgK6LHXc=; b=fJB9UgKKvp9f9l4OPX+t2Lk77DrB6pbkmUQuN64+rz7gHSyuVaBKfj5KVZPMRMYPtZcTNc XOiXs4cC0y5Cgd82CZ68hQUBNDmwMVxwZp+eBFkm2GDkwuSW5yoHcMUOfGlbDd6iUR+XRh QL4n0pJY+P2viL7xl+Ji7+eCNmpdGhbYbCKEWnmHlXlwaExIfjamtFdYDZRFgJwB91E47R hSLcB491gb6OGdEKqImsEX37K+n0HghKRowAWdBvmrVPgjYMpsogfu3VUmfJI6ivL+z78t ueQfpWUKNdtYmtUaBuB4K2F2wYbyafOVkakpXKb4yDgfBulLOCaVWO7DsmIpuw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2C1B019B59; Sun, 1 May 2022 17:24:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 241HONdp061382; Sun, 1 May 2022 17:24:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 241HONxn061381; Sun, 1 May 2022 17:24:23 GMT (envelope-from git) Date: Sun, 1 May 2022 17:24:23 GMT Message-Id: <202205011724.241HONxn061381@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 3c65a080f765 - main - graphics/drm-54-kmod: Add new port List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 3c65a080f765cf0aaf850eb6f42ebc57c2710731 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651425863; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4gpqvPh8M6PbeKsM24XXCG89Uyb+O06BKR0TgK6LHXc=; b=Eq5slYvt2GEumZfHqdbXOaiDOdQRyljbVzeP2CGNbm0zTlOpuH7QvpxVieaQXENUZGqDzQ sRLSBxvgNZ/QR85OfLl11O2YvgvM4O3FHJqjhJsuCIblwAnWLfumDWqKzaWfyln/p4hbLN jnJ4B9jA2EhEvZBuvXM0O3J91RWrO+JJPYD+InNSRthhBP2YcWQS3UdAc20Xa3OOctBRpG JWct+n/IOoPJ7qtH0SV21GSuIOLV93qX4Dm2O7Ut8KbtqfZRCJ0N3xbfevy42wRZ03Xz9X YMPqa57ft0dMBI5+sHWv08v+XKUFyDGlDGpKfE956wHPP3Arm1N+rqj6kWW5yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651425863; a=rsa-sha256; cv=none; b=euBkob8UZrlkewmLIddDyg8fII0PpsL9cX6z5KuKTakzdb8LDZyd+S3/MKPr550WQzpfZ8 QHEOcUZmrxb8RxtLVu453F+7OlosrsuPd6ZIJJmpDPPjqlQ4ZiwDsu/R7VVlB23NpHuv2c W7rtH/h517LovsGrzYt2fC0gDTU0rCFIMLdIwq3vdv87tSh0X7tA7I60+rd3SMoArsLLcK rOXNULfzqu29/7O4Nk8/ALTz/mj6kfCaHj5vbVm5LOwzzoILq5F4WayovNCt94SuAZspv6 dJuq1yePzsN5V+jo8y0/Sntb+LofkeOzKoUf5u1rWMR9DEYzACwyNLVPLRT43Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c65a080f765cf0aaf850eb6f42ebc57c2710731 commit 3c65a080f765cf0aaf850eb6f42ebc57c2710731 Author: Emmanuel Vadot AuthorDate: 2022-04-28 12:14:57 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-01 17:23:25 +0000 graphics/drm-54-kmod: Add new port Add new ports that track drm from Linux 5.4 This ports works on all 13 branches and current. Sponsored by: Beckhoff Automation GmbH & Co. KG --- graphics/Makefile | 1 + graphics/drm-54-kmod/Makefile | 52 ++++++++++++++++++++++++++++++++++++++++ graphics/drm-54-kmod/distinfo | 3 +++ graphics/drm-54-kmod/pkg-descr | 5 ++++ graphics/drm-54-kmod/pkg-message | 18 ++++++++++++++ graphics/drm-54-kmod/pkg-plist | 6 +++++ 6 files changed, 85 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 0348a23f45c5..85c3ab1499c3 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -139,6 +139,7 @@ SUBDIR += dmtx-utils SUBDIR += drawing SUBDIR += drawpile + SUBDIR += drm-54-kmod SUBDIR += drm-current-kmod SUBDIR += drm-devel-kmod SUBDIR += drm-fbsd12.0-kmod diff --git a/graphics/drm-54-kmod/Makefile b/graphics/drm-54-kmod/Makefile new file mode 100644 index 000000000000..0ff437562ba5 --- /dev/null +++ b/graphics/drm-54-kmod/Makefile @@ -0,0 +1,52 @@ +PORTNAME= drm-54-kmod +PORTVERSION= 5.4.144 +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 + +USES= kmod uidfix compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= freebsd +GH_PROJECT= drm-kmod +GH_TAGNAME= drm_v5.4.144_7 + +.include + +.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 diff --git a/graphics/drm-54-kmod/distinfo b/graphics/drm-54-kmod/distinfo new file mode 100644 index 000000000000..4880b449ce61 --- /dev/null +++ b/graphics/drm-54-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651420992 +SHA256 (freebsd-drm-kmod-5.4.144-drm_v5.4.144_7_GH0.tar.gz) = eafe0404859bf4dfede13118db1cf0e5960eb5f9b2ed3cfa6eb2729c69b46d28 +SIZE (freebsd-drm-kmod-5.4.144-drm_v5.4.144_7_GH0.tar.gz) = 18822772 diff --git a/graphics/drm-54-kmod/pkg-descr b/graphics/drm-54-kmod/pkg-descr new file mode 100644 index 000000000000..967d36398760 --- /dev/null +++ b/graphics/drm-54-kmod/pkg-descr @@ -0,0 +1,5 @@ +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/ diff --git a/graphics/drm-54-kmod/pkg-message b/graphics/drm-54-kmod/pkg-message new file mode 100644 index 000000000000..75064f10adbf --- /dev/null +++ b/graphics/drm-54-kmod/pkg-message @@ -0,0 +1,18 @@ +[ +{ type: install + message: <