commit:     16524f3870981bbdd7b5bd06e2ade1c1222508a4
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Mon Jun 16 11:04:39 2025 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Mon Jun 16 14:19:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=16524f38

x11-drivers/evdi: drop obsolete patches

Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 .../files/evdi-1.14.7-drm_fb_helper.info.patch     | 55 ----------------------
 .../evdi-1.14.7-removed-output_poll_changed.patch  | 24 ----------
 2 files changed, 79 deletions(-)

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
deleted file mode 100644
index 07f8879107..0000000000
--- a/x11-drivers/evdi/files/evdi-1.14.7-drm_fb_helper.info.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-https://github.com/DisplayLink/evdi/commit/88d67b63487ad484dff31d9e1355a32771787979.patch
-From 88d67b63487ad484dff31d9e1355a32771787979 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?=C5=81ukasz=20Spintzyk?= <[email protected]>
-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;
- 

diff --git 
a/x11-drivers/evdi/files/evdi-1.14.7-removed-output_poll_changed.patch 
b/x11-drivers/evdi/files/evdi-1.14.7-removed-output_poll_changed.patch
deleted file mode 100644
index 1c7788bdbd..0000000000
--- a/x11-drivers/evdi/files/evdi-1.14.7-removed-output_poll_changed.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 30760596ec3a6905405564e1a191e1161a78f275 Mon Sep 17 00:00:00 2001
-From: Paul Zander <[email protected]>
-Date: Thu, 21 Nov 2024 16:20:48 +0100
-Subject: [PATCH] drm: Remove struct drm_mode_config_funcs.output_poll_changed
-
-https://patchwork.freedesktop.org/patch/607909/
-
-Signed-off-by: Paul Zander <[email protected]>
-
-diff --git a/module/evdi_modeset.c b/module/evdi_modeset.c
-index dfa9d10..8f72b8d 100644
---- a/module/evdi_modeset.c
-+++ b/module/evdi_modeset.c
-@@ -504,7 +504,6 @@ static int evdi_crtc_init(struct drm_device *dev)
- 
- static const struct drm_mode_config_funcs evdi_mode_funcs = {
-       .fb_create = evdi_fb_user_fb_create,
--      .output_poll_changed = NULL,
-       .atomic_commit = drm_atomic_helper_commit,
-       .atomic_check = drm_atomic_helper_check
- };
--- 
-2.47.0
-

Reply via email to