From nobody Thu Mar 16 18:37:54 2023 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 4PcwxH2Qstz3yRlK; Thu, 16 Mar 2023 18:37:55 +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 4PcwxG6zMmz43XB; Thu, 16 Mar 2023 18:37:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678991875; 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=y+zOiNkNRHmk2vVzCqJh23Ya2HBW++vFh+1e720mBAM=; b=POnUo8aPdc7lZT/OdjoIC5kmgiqLHkCeu5Az3KA60/aZiEz8+8l3Nx5IH025wVQTo+bIzy /2CYA8Xf/jF/BUpb7MYNBs0QaiqJlRmd46QJaINUxF3F31kqxgHOZ4y8g+be+tllMACLox KYWiZzYu7llM3k/boP7cBOcX3ob9Ky8R27oabT082PAdFRX1k2L/uomIMGh5Ub+PPpnuOF g81k2INPD5y0BKkrW42xLYNQdBLlfidjFmY21GwJu58YfRN6ua6wdJbVXhKJBJ5iK8Faiz 0/l1jroaO5n6sKowGONE8+Zkj9kWP+d/ZQbEEeIxf/VrUCALZrz/UQ6X5agtqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1678991875; 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=y+zOiNkNRHmk2vVzCqJh23Ya2HBW++vFh+1e720mBAM=; b=R403y09Cf1NcqfpTtcdAx0waAl68xkZOnaKvsgp9JqX0f9XGXNi+jw4HE5pscKt/YVOoZP OXgIVcr2vsTKrBlwwuWd3VP64BiRkKds+0uV9psT7N5HPtk85VGnL6NZR8LaOQZdkkQrbz vsqkXOSqe6iIbkrr+wCE3TCs5I5h/Ke/H/QjBt0Yr2aGmZs8jB7O4z8jlTTaxbAEve0QhH /LqLKZFp/d09qrAVdFadR7G/ntYaCwdsxu3BGZGndBJvGsu9+7GfCmzSzir1k+IF0qMw9O VkUohRZ38vGd75vYCQpNN98aJ3Ue6JIj07JFAfHmROfdfxE4EecedBaWy0CM/A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1678991875; a=rsa-sha256; cv=none; b=bp/1w+9cff9/ZefnuLdiXSymgDGtv8AuF9u6jxMASEbqxzpr13xdMaK/RyXivulVTKziK6 xCkoMJLTmuWeWwKBbunmO2hFI5wwHsPrQaZTmWigq7H8ScDgBnI85LjVY4AI9gRSf41Xf1 UO9J3wLEw9fS0Er5Qc4/4hsz4EFBeKilMvem/kIx4VuX2svxQKo41gqOv1VbJ8KkofCTj5 8vcJw59bxBFA2qjmNFn86S0nyhejvVsJp2gXrvCeINJxCblIIRxCKtr+6UWjpyZuVP7LML enjB3frRvkVzoxI5aIYmsjy0/Z0ujPvVvM/kdaxDqSV/11MWGAwVRHSeDi9kww== 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 4PcwxG63BSztrJ; Thu, 16 Mar 2023 18:37:54 +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 32GIbsr7003521; Thu, 16 Mar 2023 18:37:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32GIbsOt003520; Thu, 16 Mar 2023 18:37:54 GMT (envelope-from git) Date: Thu, 16 Mar 2023 18:37:54 GMT Message-Id: <202303161837.32GIbsOt003520@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: ffbe0e2b363c - main - graphics/drm-510-kmod: fix runtime on powerpc64* 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ffbe0e2b363cf65d1d86cbf7d9ebc966bfdba1c6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=ffbe0e2b363cf65d1d86cbf7d9ebc966bfdba1c6 commit ffbe0e2b363cf65d1d86cbf7d9ebc966bfdba1c6 Author: Piotr Kubaj AuthorDate: 2023-03-16 18:12:45 +0000 Commit: Piotr Kubaj CommitDate: 2023-03-16 18:12:45 +0000 graphics/drm-510-kmod: fix runtime on powerpc64* Add a patch from https://github.com/freebsd/drm-kmod/issues/214 to failure to load: Mar 16 10:29:34 talos kernel: link_elf: symbol acpi_iicbus_driver undefined Mar 16 10:29:35 talos kernel: KLD radeonkms.ko: depends on drmn - not available or version mismatch evadot mentioned that it had been fixed, but the issue still happens on FreeBSD 13.2-RC2 with drm-510-kmod-5.10.163_2. --- graphics/drm-510-kmod/Makefile | 2 +- .../files/patch-drivers_gpu_drm_drm__os__freebsd.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/graphics/drm-510-kmod/Makefile b/graphics/drm-510-kmod/Makefile index c772517a383e..02fa8713eed5 100644 --- a/graphics/drm-510-kmod/Makefile +++ b/graphics/drm-510-kmod/Makefile @@ -1,6 +1,6 @@ PORTNAME= drm-510-kmod PORTVERSION= 5.10.163 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= graphics kld MAINTAINER= x11@FreeBSD.org diff --git a/graphics/drm-510-kmod/files/patch-drivers_gpu_drm_drm__os__freebsd.c b/graphics/drm-510-kmod/files/patch-drivers_gpu_drm_drm__os__freebsd.c new file mode 100644 index 000000000000..389f8ebfeed0 --- /dev/null +++ b/graphics/drm-510-kmod/files/patch-drivers_gpu_drm_drm__os__freebsd.c @@ -0,0 +1,18 @@ +--- drivers/gpu/drm/drm_os_freebsd.c.bak 2022-11-05 15:37:52.826643000 -0400 ++++ drivers/gpu/drm/drm_os_freebsd.c 2022-11-05 15:38:25.740620000 -0400 +@@ -202,11 +202,15 @@ + #if __FreeBSD_version >= 1301505 + #if __FreeBSD_version >= 1400058 + DRIVER_MODULE(iicbus, drmn, iicbus_driver, NULL, NULL); ++#if defined(__amd64__) || defined(__aarch64__) || defined(__i386__) + DRIVER_MODULE(acpi_iicbus, drmn, acpi_iicbus_driver, NULL, NULL); ++#endif + #else + DRIVER_MODULE(iicbus, drmn, iicbus_driver, iicbus_devclass, NULL, NULL); ++#if defined(__amd64__) || defined(__aarch64__) || defined(__i386__) + DRIVER_MODULE(acpi_iicbus, drmn, acpi_iicbus_driver, iicbus_devclass, NULL, + NULL); ++#endif + #endif + MODULE_DEPEND(drmn, iicbus, IICBUS_MINVER, IICBUS_PREFVER, IICBUS_MAXVER); + MODULE_DEPEND(drmn, iic, 1, 1, 1);