From nobody Sun May 01 17:24:24 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 0D4A41AB9596; Sun, 1 May 2022 17:24:25 +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 4KrtPh45Qpz4qLq; Sun, 1 May 2022 17:24:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651425864; 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=5MgQbnFkZzC3kJB6tm45I1lfn5HPo5S0IaKTWffHAgI=; b=d+V9/2yONMFoGxbbm7B2qaOqajU8QC+Bd3XQmeXQJ/E25yqJmxiQZYTj11y+SdhjDdEVHI mWU2ykJKK68mvD5r/GgN7jsI4aVbHhEC5ws1CTA6DShzXsDiAj0ubxK6C8EM4eDkbagZdN GT+4l9aVhsa8FsUC6+L3AINhlrs/hgSw+Ti9+lgyXtju5Ox1gY/hrPfeAOe1ZXN079GRzK H7G9QB8jVtR92ejDQcZ+GxFdpnv7Eu8x7gQw14GvYMtHq5V8owLHlHZ7uBK5Hczi5pwYRT FyAwieBMokypOqCEjp4yVtTsTOoW1xPKnJ/XuwjBw/IbTlaZXUNNMxTXOUsj6w== 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 5332519954; Sun, 1 May 2022 17:24:24 +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 241HOOQ4061406; Sun, 1 May 2022 17:24:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 241HOOWZ061405; Sun, 1 May 2022 17:24:24 GMT (envelope-from git) Date: Sun, 1 May 2022 17:24:24 GMT Message-Id: <202205011724.241HOOWZ061405@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: 7377fed7a063 - main - graphics/drm-510-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: 7377fed7a063420992359af3a15006fa4fee6303 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651425864; 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=5MgQbnFkZzC3kJB6tm45I1lfn5HPo5S0IaKTWffHAgI=; b=wW0c4q6WMDb6Boglo1s49t/ZzJJOFNrYh6m3HdblZwnPF1VaWnBJip1fW+kuxa7r98m4jp lQg3Jdn8BhEAO/XFib0k5N/hI1Oqkx8HJ3PIDtgA8J3h9R+gn9P40RF3OgUAZW4l6yHZFH l/k9mm2CMUTwu0nhKR02QodJFd3Bc3OkbqEU3jOZmsiHqmDXCFhzlhTlQTCn6O66x8jPtR 1Cyf1mCoSX8x8dph0S3RNFRJ76NOnvf6ATMa+21PSUaMmNiu2Nso3NE218Feog4yLMzERp BnmGDVRww62me+A85dldK6A1jApe+Iyqqjs0ttz0t3fseWZIWiv1NhUWFrCtGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651425864; a=rsa-sha256; cv=none; b=RG+HWpuoseT/D7plKQ1xqm6cO9J296bJlyuvyq/jR8neWaHqeyesBPPXgRfAKs+3VPWEU2 xHsNkL9w9SKd45VfsRAFojBXSZLScB4k9TwXCRa/gsTgKosGOznCW/lG6XPNTV6zgf5ocJ PVcB/Vyz4xmHm0V2gH3ka58jKdUtScXiiOp4lD6IhnUpIC+jCaiujwD+S+UccBtrmmt3ws Kh61A1dRm8TT0C+bTHdEZ2NksLmg5m1EDz2HDp2SMMmedbwxtL637RxQT9hLZsLtgQRmcx xq3GP2QT6Obz+khcjGW+6uGKDxRFmBku0wt3M4ueo869wvV53fW9FOYkSGuUpw== 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=7377fed7a063420992359af3a15006fa4fee6303 commit 7377fed7a063420992359af3a15006fa4fee6303 Author: Emmanuel Vadot AuthorDate: 2022-04-28 12:25:42 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-01 17:23:25 +0000 graphics/drm-510-kmod: Add new port Add new ports that track drm from Linux 5.10 This ports works on 13.1 and above. Sponsored by: Beckhoff Automation GmbH & Co. KG --- graphics/Makefile | 1 + graphics/drm-510-kmod/Makefile | 52 +++++++++++++++++++++++++++++++++++++++ graphics/drm-510-kmod/distinfo | 3 +++ graphics/drm-510-kmod/pkg-descr | 5 ++++ graphics/drm-510-kmod/pkg-message | 18 ++++++++++++++ graphics/drm-510-kmod/pkg-plist | 7 ++++++ graphics/drm-54-kmod/Makefile | 2 +- 7 files changed, 87 insertions(+), 1 deletion(-) diff --git a/graphics/Makefile b/graphics/Makefile index 85c3ab1499c3..b5d543ae6c0f 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -140,6 +140,7 @@ SUBDIR += drawing SUBDIR += drawpile SUBDIR += drm-54-kmod + SUBDIR += drm-510-kmod SUBDIR += drm-current-kmod SUBDIR += drm-devel-kmod SUBDIR += drm-fbsd12.0-kmod diff --git a/graphics/drm-510-kmod/Makefile b/graphics/drm-510-kmod/Makefile new file mode 100644 index 000000000000..b6975c2d7c3a --- /dev/null +++ b/graphics/drm-510-kmod/Makefile @@ -0,0 +1,52 @@ +PORTNAME= drm-510-kmod +PORTVERSION= 5.10.0 +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-54-kmod + +USES= kmod uidfix compiler:c++11-lang + +USE_GITHUB= yes +GH_ACCOUNT= freebsd +GH_PROJECT= drm-kmod +GH_TAGNAME= drm_v5.10_4 + +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1301000 +IGNORE= not supported on older than 13.1, 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-510-kmod/distinfo b/graphics/drm-510-kmod/distinfo new file mode 100644 index 000000000000..55598c2c28e9 --- /dev/null +++ b/graphics/drm-510-kmod/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1651420970 +SHA256 (freebsd-drm-kmod-5.10.0-drm_v5.10_4_GH0.tar.gz) = fa546dfc17f5326a0e7e4cd87c78d03bad4f7ef998003244177beded00f9cc64 +SIZE (freebsd-drm-kmod-5.10.0-drm_v5.10_4_GH0.tar.gz) = 20088981 diff --git a/graphics/drm-510-kmod/pkg-descr b/graphics/drm-510-kmod/pkg-descr new file mode 100644 index 000000000000..313bdaf6da76 --- /dev/null +++ b/graphics/drm-510-kmod/pkg-descr @@ -0,0 +1,5 @@ +amdgpu, i915, and radeon DRM drivers modules. +Currently corresponding to Linux 5.10 DRM. +This version is for FreeBSD 13.1 and above. + +WWW: https://github.com/freebsd/drm-kmod/ diff --git a/graphics/drm-510-kmod/pkg-message b/graphics/drm-510-kmod/pkg-message new file mode 100644 index 000000000000..75ee1546e0ba --- /dev/null +++ b/graphics/drm-510-kmod/pkg-message @@ -0,0 +1,18 @@ +[ +{ type: install + message: <