From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (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) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 881BF15813A for ; Mon, 13 Jan 2025 12:42:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A3223E07F2; Mon, 13 Jan 2025 12:42:37 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 188F7E0827 for ; Mon, 13 Jan 2025 12:42:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F0EE3335D0F for ; Mon, 13 Jan 2025 12:42:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4E3912083 for ; Mon, 13 Jan 2025 12:42:34 +0000 (UTC) From: "Paul Zander" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Zander" Message-ID: <1736771901.e1ab8bf47fdfc50f4a965623ff69d58ed1eb86b5.negril.nx+gentoo@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: x11-drivers/evdi/, x11-drivers/evdi/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: x11-drivers/evdi/evdi-1.14.7-r1.ebuild x11-drivers/evdi/evdi-1.14.7-r2.ebuild x11-drivers/evdi/files/evdi-1.14.7-drm_fb_helper.info.patch X-VCS-Directories: x11-drivers/evdi/files/ x11-drivers/evdi/ X-VCS-Committer: negril.nx+gentoo X-VCS-Committer-Name: Paul Zander X-VCS-Revision: e1ab8bf47fdfc50f4a965623ff69d58ed1eb86b5 X-VCS-Branch: dev Date: Mon, 13 Jan 2025 12:42:34 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 50e88de5-c1c3-46b8-8da3-9c79b58dac4d X-Archives-Hash: 64a09c141e34d2b7eb3ac92db97673a0 commit: e1ab8bf47fdfc50f4a965623ff69d58ed1eb86b5 Author: Paul Zander gmail com> AuthorDate: Mon Jan 13 12:38:21 2025 +0000 Commit: Paul Zander gmail com> CommitDate: Mon Jan 13 12:38:21 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e1ab8bf4 x11-drivers/evdi: bump 1.14.7-r2 fix kernel-6.1 build Includes https://github.com/DisplayLink/evdi/commit/88d67b63487ad484dff31d9e1355a32771787979 which fixes a check for versions > 6.1.51 <=6.2.0 Closes: https://bugs.gentoo.org/939313 Signed-off-by: Paul Zander gmail.com> ...evdi-1.14.7-r1.ebuild => evdi-1.14.7-r2.ebuild} | 1 + .../files/evdi-1.14.7-drm_fb_helper.info.patch | 55 ++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/x11-drivers/evdi/evdi-1.14.7-r1.ebuild b/x11-drivers/evdi/evdi-1.14.7-r2.ebuild similarity index 95% rename from x11-drivers/evdi/evdi-1.14.7-r1.ebuild rename to x11-drivers/evdi/evdi-1.14.7-r2.ebuild index 84b6d26db..2f7f68793 100644 --- a/x11-drivers/evdi/evdi-1.14.7-r1.ebuild +++ b/x11-drivers/evdi/evdi-1.14.7-r2.ebuild @@ -42,6 +42,7 @@ CONFIG_CHECK="~FB_VIRTUAL ~I2C ~DRM ~USB_SUPPORT ~USB_ARCH_HAS_HCD MODULES" PATCHES=( "${FILESDIR}/${PN}-1.14.4-format-truncation.patch" "${FILESDIR}/${PN}-1.14.7-removed-output_poll_changed.patch" + "${FILESDIR}/${PN}-1.14.7-drm_fb_helper.info.patch" # backport from 1.14.8 ) pkg_setup() { diff --git a/x11-drivers/evdi/files/evdi-1.14.7-drm_fb_helper.info.patch b/x11-drivers/evdi/files/evdi-1.14.7-drm_fb_helper.info.patch new file mode 100644 index 000000000..07f887910 --- /dev/null +++ b/x11-drivers/evdi/files/evdi-1.14.7-drm_fb_helper.info.patch @@ -0,0 +1,55 @@ +https://github.com/DisplayLink/evdi/commit/88d67b63487ad484dff31d9e1355a32771787979.patch +From 88d67b63487ad484dff31d9e1355a32771787979 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?=C5=81ukasz=20Spintzyk?= +Date: Mon, 7 Oct 2024 09:17:43 +0200 +Subject: [PATCH] Validate build with CONFIG_FB define + +--- + ci/build_against_kernel | 2 +- + module/evdi_fb.c | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/ci/build_against_kernel b/ci/build_against_kernel +index ebd0562..25cf174 100755 +--- a/ci/build_against_kernel ++++ b/ci/build_against_kernel +@@ -236,7 +236,7 @@ build_one() { # KVER + + local src_dir + local KTAG=v${KVER} +- local extra_cflags= ++ local extra_cflags="-DCONFIG_FB" + if [ "${KVER}" == "master" ]; then + KTAG="origin/master" + else +diff --git a/module/evdi_fb.c b/module/evdi_fb.c +index 6bd364e..d8feca6 100644 +--- a/module/evdi_fb.c ++++ b/module/evdi_fb.c +@@ -404,7 +404,7 @@ static int evdifb_create(struct drm_fb_helper *helper, + fb = &efbdev->efb.base; + + efbdev->helper.fb = fb; +-#if KERNEL_VERSION(6, 1, 51) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) ++#if KERNEL_VERSION(6, 2, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) + efbdev->helper.info = info; + #else + efbdev->helper.fbdev = info; +@@ -464,7 +464,7 @@ static void evdi_fbdev_destroy(__always_unused struct drm_device *dev, + { + struct fb_info *info; + +-#if KERNEL_VERSION(6, 1, 51) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) ++#if KERNEL_VERSION(6, 2, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) + if (efbdev->helper.info) { + info = efbdev->helper.info; + #else +@@ -556,7 +556,7 @@ void evdi_fbdev_unplug(struct drm_device *dev) + return; + + efbdev = evdi->fbdev; +-#if KERNEL_VERSION(6, 1, 51) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) ++#if KERNEL_VERSION(6, 2, 0) <= LINUX_VERSION_CODE || defined(EL8) || defined(EL9) + if (efbdev->helper.info) { + struct fb_info *info; +