From nobody Fri Feb 17 14:08:50 2023 X-Original-To: dev-commits-ports-all@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 4PJDFG3JrRz3qR38; Fri, 17 Feb 2023 14:08:50 +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 4PJDFG2KMdz3Bm9; Fri, 17 Feb 2023 14:08:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676642930; 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=/Seb+y9RoSKYgu1UrCyKNRY81h8dxAcYisjWZC9WCC8=; b=LqjFqPWC8SpzOVZKLZBHp11lFRCe/F4GgTFtigyksX1sdvDmGqHU8P0eDjEIZ9k/RuM8lT Kid7zvExh/vEdPuLly69VmR/164dtWqeV2unkzbjo2wnFpWu9icBPgSbSULxPRxlvh7pBj OufgrkO1033r7YM360V/ZJGvAUaMUHHe/UE0e6tzBHygpvYXMDYY2dOy/DxdGPAE1sebtf W4edGJm+jq8k7oGje8rHhLXeQphkopNkwKGGWX2pQ4WcwecKskzWC6ZUkBWdQmKkkhLAIv vTB/3nkRcDs57ZV4Qc2fFfS+YDEzK3ybyf/d841DWAedmCNALd0EYBtXDLtHng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676642930; 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=/Seb+y9RoSKYgu1UrCyKNRY81h8dxAcYisjWZC9WCC8=; b=aXeRqRDzZiqAsIkbS0maYx4zNJx/7pzaoW+PfxkbmXUxOxqmniH6vO6YnmpXMfZo8Ed4iu DAqdTs5iT6SxMczbbd2qbc7kFctD1qM2tXbw4UJZJtUxcvzkFevuM4S5lIYuvmbp09d6W2 y/VqKwVq99KDNr66qAhY6Fh+Yl1hvXJjuvlRGnN1vd434X77OHJY87MjDIh1RzXPrWGleV Gwn34qeO5y0tcQwF9QdA5yos7aV5+n2Y3f0i4/9i5dwZaTFP05ClUyOjCUKEFkVtqzgLuk ajSdgLTa/T3wNDRC316YwZjDllHgUXVbpX0r7oeyngvv7FuN5dE31kPVwkZjoQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676642930; a=rsa-sha256; cv=none; b=ksDkscJYQLuQOqWItCdMuG/FD8xsWypoYm0TSpXIxHf6+1azew6PpTrP8ZeJscSo/NqfP+ hJG1RLeVn64oNl2MBQSkHiIochlFOme9hG2oHBxyDjD/71U3MgvWQ1JnJ7cexHQoaC6Hiw nqNC6PNWswj+jzmz7q8nIdQgMhRrF2NuKvlOoz59JbxnA0N9+YPP8sP4jC1A9bkVaOApNy z3Fm3sUkWtM+fylY28D44VPFrK6B+Up7o/CC6UtTt411Kx5mSUbOyQqAYANrtKaTiofr+1 Rl//RZCrWe4OPOlAAae4l1n9yrwqReuLjhaJqxoAQZwD82cQ9G/t7UrNp0XewQ== 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 4PJDFG1NhRzlp7; Fri, 17 Feb 2023 14:08:50 +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 31HE8otw098574; Fri, 17 Feb 2023 14:08:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31HE8o57098573; Fri, 17 Feb 2023 14:08:50 GMT (envelope-from git) Date: Fri, 17 Feb 2023 14:08:50 GMT Message-Id: <202302171408.31HE8o57098573@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: e86cd62dba7a - main - graphics/drm-515-kmod: Add new port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: e86cd62dba7ae097b9c07edc4b0774bf768f6d07 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=e86cd62dba7ae097b9c07edc4b0774bf768f6d07 commit e86cd62dba7ae097b9c07edc4b0774bf768f6d07 Author: Emmanuel Vadot AuthorDate: 2023-02-17 14:05:27 +0000 Commit: Emmanuel Vadot CommitDate: 2023-02-17 14:08:20 +0000 graphics/drm-515-kmod: Add new port This port track drm code from Linux 5.15.25 Only FreeBSD-CURRENT is supported for now. Sponsored by: Beckhoff Automation GmbH & Co. KG --- graphics/Makefile | 1 + graphics/drm-510-kmod/Makefile | 2 +- graphics/drm-515-kmod/Makefile | 53 +++++++++++++++++++++++++++++++++++++++ graphics/drm-515-kmod/distinfo | 3 +++ graphics/drm-515-kmod/pkg-descr | 3 +++ graphics/drm-515-kmod/pkg-message | 18 +++++++++++++ graphics/drm-515-kmod/pkg-plist | 7 ++++++ 7 files changed, 86 insertions(+), 1 deletion(-) diff --git a/graphics/Makefile b/graphics/Makefile index 70d6c13748ea..beb2cd85c48e 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -145,6 +145,7 @@ SUBDIR += drawing SUBDIR += drawpile SUBDIR += drm-510-kmod + SUBDIR += drm-515-kmod SUBDIR += drm-fbsd12.0-kmod SUBDIR += drm-kmod SUBDIR += drm_info diff --git a/graphics/drm-510-kmod/Makefile b/graphics/drm-510-kmod/Makefile index 1fe8590e8bf2..c772517a383e 100644 --- a/graphics/drm-510-kmod/Makefile +++ b/graphics/drm-510-kmod/Makefile @@ -13,7 +13,7 @@ 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-54-kmod +CONFLICTS_INSTALL= drm-515-kmod USES= kmod uidfix compiler:c++11-lang diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile new file mode 100644 index 000000000000..f0aebce53da4 --- /dev/null +++ b/graphics/drm-515-kmod/Makefile @@ -0,0 +1,53 @@ +PORTNAME= drm-515-kmod +PORTVERSION= 5.15.25 +CATEGORIES= graphics kld + +MAINTAINER= x11@FreeBSD.org +COMMENT= DRM drivers modules +WWW= https://github.com/freebsd/drm-kmod/ + +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-510-kmod + +USES= kmod uidfix compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= freebsd +GH_PROJECT= drm-kmod +GH_TAGNAME= drm_v5.15.25 + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400081 +IGNORE= not supported on older than 14.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-515-kmod/distinfo b/graphics/drm-515-kmod/distinfo new file mode 100644 index 000000000000..73b13e906c2a --- /dev/null +++ b/graphics/drm-515-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1676642447 +SHA256 (freebsd-drm-kmod-5.15.25-drm_v5.15.25_GH0.tar.gz) = 50c36652a8c6b60799c2499e12eec6efc01b02459ae07e4d177580bfb56d63ed +SIZE (freebsd-drm-kmod-5.15.25-drm_v5.15.25_GH0.tar.gz) = 26082555 diff --git a/graphics/drm-515-kmod/pkg-descr b/graphics/drm-515-kmod/pkg-descr new file mode 100644 index 000000000000..4f137a75d5eb --- /dev/null +++ b/graphics/drm-515-kmod/pkg-descr @@ -0,0 +1,3 @@ +amdgpu, i915, and radeon DRM drivers modules. +Currently corresponding to Linux 5.15 DRM. +This version is for FreeBSD 14.0 and above. diff --git a/graphics/drm-515-kmod/pkg-message b/graphics/drm-515-kmod/pkg-message new file mode 100644 index 000000000000..e8371da62e5a --- /dev/null +++ b/graphics/drm-515-kmod/pkg-message @@ -0,0 +1,18 @@ +[ +{ type: install + message: <