mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
x11-drivers/evdi: fix build with kernel-6.12
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user