x11-drivers/evdi: fix build with kernel-6.12

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2024-11-21 17:20:02 +01:00
parent b532a02aa1
commit 9e63c7ccde
2 changed files with 25 additions and 0 deletions

View File

@@ -41,6 +41,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"
)
pkg_setup() {

View File

@@ -0,0 +1,24 @@
From 30760596ec3a6905405564e1a191e1161a78f275 Mon Sep 17 00:00:00 2001
From: Paul Zander <negril.nx+gentoo@gmail.com>
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 <negril.nx+gentoo@gmail.com>
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