From nobody Fri Jan 5 16:43:29 2024 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 4T68R539mjz55JG4; Fri, 5 Jan 2024 16:43:29 +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 4T68R52gb8z504f; Fri, 5 Jan 2024 16:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704473009; 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=tUgY1aY946X5PE9qafg0WX/c+ENT7gMKcJKiKvWm7Sw=; b=EhBxVTwwxI/0V9llHUH+b9lm8QBhDNWGTaWq+HJH/EcTs8QAV+/s29QMlISBL9bh59SGu4 425XY89nP3N9CfTJuGCiBKU1ZRDmFw8FQdXjXukyAbpzoRd6lqpa+DvCexGtnZ5DrLar92 v5NLbWMoz/hzSHvVa9FYtg6EajRbv1bt1V8uHD+bs994cHP5TA9887N7FK5XgRlIozYJTz IkqeulejCLmTlNVq0kB1wMcGH1SnEFXL8Snz2wb3RdwJJ3cLAv//Oi36TOxD/F2KRIeK91 Hvbh04fCsHHLQ6SW40gNVIxT/Uin26LHv0qK1VyZFxcYNu/x4NQ8i0ruT4OBzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704473009; 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=tUgY1aY946X5PE9qafg0WX/c+ENT7gMKcJKiKvWm7Sw=; b=e3YZor1ApsgQWPr4JeHUFAFzq/SRRebY9u/2qxvHjkKssln25eHTyRZj7DR7jfnllv7zKI y4atzP4SHDAPLCYubOKYVyI++nd1+pXhsaPsSJy81aEdSCVUys0iN0FSUwpaoiVt589eo5 crWcOBQ2FbO+v8YnQuaePqZLVmUvSa2RXanpTF+SHP2zlJZddJ4e8bjwtmrWMWnvQCGZV3 U6qqMwUCmjon3z7oWwNYpdOGT2IFYbj3V5TeztBNO6KZqfFnocnkCXpnO2PkSM57dl7cV5 F+7iKibaf9KDLNwN7vE3dYauTAVCL3F3gpoVDYxpSwmg90v5HGXRY2i2CeevDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704473009; a=rsa-sha256; cv=none; b=FxoWQZ+qRTrffBUOpoSH9PO8uMVbUZ/B64iUdf6kBvGgMWL6Pmd85DoPIiAMYM5P3gBTHy t02EiMhoJXjlK6ae0u1fpvKDlaKKENxhULPGcl6oCaHJlYhQJB1svgbkzNcJ2hybFGdgng XFU65P/U0ajMBDrq8RGbVF+E8hT65yu/6IY2p9yCgkWpqZVkrDPKEvEep8ro2M9WhJ/125 q8fzaeDMJIFF0RpeEdZ9STmA+fREDGlt++B9QQuIp8VZYYg/5j4N0qAT2Z5UdYceXqh9CW Ogb6CFH+cZyyUQ/C8/Qt3veYlzt1gFZ1DpgityFKf5y4pTkaPqhHqW/oBxe9VQ== 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 4T68R51kybz14ps; Fri, 5 Jan 2024 16:43:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 405GhTxO074743; Fri, 5 Jan 2024 16:43:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 405GhTNS074740; Fri, 5 Jan 2024 16:43:29 GMT (envelope-from git) Date: Fri, 5 Jan 2024 16:43:29 GMT Message-Id: <202401051643.405GhTNS074740@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: 66dec8f11b78 - main - graphics/drm-61-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: 66dec8f11b7804bb6dfd7af79a170f0832f2936e Auto-Submitted: auto-generated The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/ports/commit/?id=66dec8f11b7804bb6dfd7af79a170f0832f2936e commit 66dec8f11b7804bb6dfd7af79a170f0832f2936e Author: Emmanuel Vadot AuthorDate: 2024-01-05 16:33:09 +0000 Commit: Emmanuel Vadot CommitDate: 2024-01-05 16:43:24 +0000 graphics/drm-61-kmod: Add new port DRM drivers tracking 6.1-lts Linux version. Big thanks to dumbbell@ and wulf@ for working on this update. Sponsored by: Beckhoff Automation GmbH & Co. KG --- graphics/Makefile | 1 + graphics/drm-510-kmod/Makefile | 3 +- graphics/drm-515-kmod/Makefile | 3 +- graphics/drm-61-kmod/Makefile | 56 +++++++++++++++++++++++++++++++++++ graphics/drm-61-kmod/Makefile.version | 5 ++++ graphics/drm-61-kmod/distinfo | 3 ++ graphics/drm-61-kmod/pkg-descr | 3 ++ graphics/drm-61-kmod/pkg-message | 18 +++++++++++ graphics/drm-61-kmod/pkg-plist | 7 +++++ 9 files changed, 97 insertions(+), 2 deletions(-) diff --git a/graphics/Makefile b/graphics/Makefile index 8a0ee70ce556..cae10a15b02d 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -146,6 +146,7 @@ SUBDIR += drawpile SUBDIR += drm-510-kmod SUBDIR += drm-515-kmod + SUBDIR += drm-61-kmod SUBDIR += drm-kmod SUBDIR += drm_info SUBDIR += dspdfviewer diff --git a/graphics/drm-510-kmod/Makefile b/graphics/drm-510-kmod/Makefile index 1bdeb3d7ff69..9ebc61dab106 100644 --- a/graphics/drm-510-kmod/Makefile +++ b/graphics/drm-510-kmod/Makefile @@ -15,7 +15,8 @@ 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-515-kmod +CONFLICTS_INSTALL= drm-515-kmod \ + drm-61-kmod USES= kmod uidfix compiler:c++11-lang diff --git a/graphics/drm-515-kmod/Makefile b/graphics/drm-515-kmod/Makefile index 4083bd26b59d..8bc7029d0f13 100644 --- a/graphics/drm-515-kmod/Makefile +++ b/graphics/drm-515-kmod/Makefile @@ -15,7 +15,8 @@ LICENSE_COMB= multi ONLY_FOR_ARCHS= amd64 powerpc64 powerpc64le ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 and powerpc64 -CONFLICTS_INSTALL= drm-510-kmod +CONFLICTS_INSTALL= drm-510-kmod \ + drm-61-kmod USES= kmod uidfix compiler:c++11-lang diff --git a/graphics/drm-61-kmod/Makefile b/graphics/drm-61-kmod/Makefile new file mode 100644 index 000000000000..43f0d5be31aa --- /dev/null +++ b/graphics/drm-61-kmod/Makefile @@ -0,0 +1,56 @@ +PORTNAME= drm-61-kmod +PORTVERSION= ${DRM_KMOD_DISTVERSION} +CATEGORIES= graphics kld + +.include "Makefile.version" + +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= amd64 powerpc64 powerpc64le +ONLY_FOR_ARCHS_REASON= the new KMS components are only supported on amd64 and powerpc64 + +CONFLICTS_INSTALL= drm-510-kmod \ + drm-61-kmod + +USES= kmod uidfix compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= freebsd +GH_PROJECT= drm-kmod +GH_TAGNAME= ${DRM_KMOD_GH_TAGNAME} + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1500008 +IGNORE= not supported on older than 15.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-61-kmod/Makefile.version b/graphics/drm-61-kmod/Makefile.version new file mode 100644 index 000000000000..c96b856be7d1 --- /dev/null +++ b/graphics/drm-61-kmod/Makefile.version @@ -0,0 +1,5 @@ +# drm-kmod common version definition +# +# This will be included from consumers such as nvidia-drm +DRM_KMOD_DISTVERSION= 6.1.69 +DRM_KMOD_GH_TAGNAME= drm_v6.1.69 diff --git a/graphics/drm-61-kmod/distinfo b/graphics/drm-61-kmod/distinfo new file mode 100644 index 000000000000..80cbb156b286 --- /dev/null +++ b/graphics/drm-61-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704471820 +SHA256 (freebsd-drm-kmod-6.1.69-drm_v6.1.69_GH0.tar.gz) = 2327b60eb403f07c9782894cff70de04920cb14a70efc565d68d4b5ad12bc5cb +SIZE (freebsd-drm-kmod-6.1.69-drm_v6.1.69_GH0.tar.gz) = 37088102 diff --git a/graphics/drm-61-kmod/pkg-descr b/graphics/drm-61-kmod/pkg-descr new file mode 100644 index 000000000000..4f137a75d5eb --- /dev/null +++ b/graphics/drm-61-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-61-kmod/pkg-message b/graphics/drm-61-kmod/pkg-message new file mode 100644 index 000000000000..e8371da62e5a --- /dev/null +++ b/graphics/drm-61-kmod/pkg-message @@ -0,0 +1,18 @@ +[ +{ type: install + message: <