Package: evdi-dkms
Version: 1.14.10+dfsg-1~bpo13+1
Severity: normal
X-Debbugs-Cc: [email protected]

Hi,

I just tried using the 6.18rc3 kernel with latest DRM changes (which are
likely to go into the mainline kernel soon, so this is kind of an
advance warning), and got

DKMS (dkms-3.2.0) make.log for evdi/1.14.10+dfsg for kernel 6.18.0-rc3+ (x86_64)
Wed Oct 29 04:26:38 PM JST 2025

evdi_fb.c: In function ‘evdi_framebuffer_init’:
evdi_fb.c:347:57: error: passing argument 3 of ‘drm_helper_mode_fill_fb_struct’ 
from incompatible pointer type [-Wincompatible-pointer-types]
  347 |         drm_helper_mode_fill_fb_struct(dev, &efb->base, mode_cmd);
      |                                                         ^~~~~~~~
      |                                                         |
      |                                                         const struct 
drm_mode_fb_cmd2 *
In file included from 
/usr/src/linux-headers-6.18.0-rc3+/include/drm/drm_atomic_helper.h:33,
                 from 
/usr/src/linux-headers-6.18.0-rc3+/include/drm/drm_damage_helper.h:35,
                 from evdi_fb.c:29:
/usr/src/linux-headers-6.18.0-rc3+/include/drm/drm_modeset_helper.h:37:67: 
note: expected ‘const struct drm_format_info *’ but argument is of type ‘const 
struct drm_mode_fb_cmd2 *’
   37 |                                     const struct drm_format_info *info,
      |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
evdi_fb.c:347:9: error: too few arguments to function 
‘drm_helper_mode_fill_fb_struct’
  347 |         drm_helper_mode_fill_fb_struct(dev, &efb->base, mode_cmd);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.18.0-rc3+/include/drm/drm_modeset_helper.h:35:6: note: 
declared here
   35 | void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evdi_modeset.c: In function ‘evdi_cursor_atomic_update’:
evdi_modeset.c:346:39: error: ‘struct drm_device’ has no member named 
‘struct_mutex’
  346 |                 mutex_lock(&plane->dev->struct_mutex);
      |                                       ^~
evdi_modeset.c:372:41: error: ‘struct drm_device’ has no member named 
‘struct_mutex’
  372 |                 mutex_unlock(&plane->dev->struct_mutex);
      |                                         ^~
evdi_modeset.c: At top level:
evdi_modeset.c:506:22: error: initialization of ‘struct drm_framebuffer * 
(*)(struct drm_device *, struct drm_file *, const struct drm_format_info *, 
const struct drm_mode_fb_cmd2 *)’ from incompatible pointer type ‘struct 
drm_framebuffer * (*)(struct drm_device *, struct drm_file *, const struct 
drm_mode_fb_cmd2 *)’ [-Wincompatible-pointer-types]
  506 |         .fb_create = evdi_fb_user_fb_create,
      |                      ^~~~~~~~~~~~~~~~~~~~~~
evdi_modeset.c:506:22: note: (near initialization for 
‘evdi_mode_funcs.fb_create’)
evdi_gem.c: In function ‘evdi_gem_mmap’:
evdi_gem.c:397:24: error: ‘struct drm_device’ has no member named ‘struct_mutex’
  397 |         mutex_lock(&dev->struct_mutex);
      |                        ^~
evdi_gem.c:425:26: error: ‘struct drm_device’ has no member named ‘struct_mutex’
  425 |         mutex_unlock(&dev->struct_mutex);
      |                          ^~

   Simon

-- System Information:
Debian Release: 13.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.48+deb13-amd64 (SMP w/20 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages evdi-dkms depends on:
ii  dkms  3.2.0-1

Versions of packages evdi-dkms recommends:
ii  libevdi1  1.14.10+dfsg-1~bpo13+1

evdi-dkms suggests no packages.

-- no debconf information

Reply via email to