** Description changed:
+ v6.17-rc1 commit 81112eaac559c ("drm: Pass the format info to
+ .fb_create()") adds one more parameter to .fb_create callback:
+
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,
- | ^~~~~~~~~~~~~~~~~~~~~~
+ 506 | .fb_create = evdi_fb_user_fb_create,
+ | ^~~~~~~~~~~~~~~~~~~~~~
evdi_modeset.c:506:22: note: (near initialization for
‘evdi_mode_funcs.fb_create’)
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 *
+ 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.17.0-0-generic/include/drm/drm_atomic_helper.h:33,
- from
/usr/src/linux-headers-6.17.0-0-generic/include/drm/drm_damage_helper.h:35,
- from evdi_fb.c:29:
+ from
/usr/src/linux-headers-6.17.0-0-generic/include/drm/drm_damage_helper.h:35,
+ from evdi_fb.c:29:
/usr/src/linux-headers-6.17.0-0-generic/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,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
+ 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);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 347 | drm_helper_mode_fill_fb_struct(dev, &efb->base, mode_cmd);
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/src/linux-headers-6.17.0-0-generic/include/drm/drm_modeset_helper.h:35:6:
note: declared here
- 35 | void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 35 | void drm_helper_mode_fill_fb_struct(struct drm_device *dev,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: ***
[/usr/src/linux-headers-6.17.0-0-generic/scripts/Makefile.build:287:
evdi_modeset.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: ***
[/usr/src/linux-headers-6.17.0-0-generic/scripts/Makefile.build:287: evdi_fb.o]
Error 1
make[2]: *** [/usr/src/linux-headers-6.17.0-0-generic/Makefile:2016: .] Error
2
make[1]: *** [/usr/src/linux-headers-6.17.0-0-generic/Makefile:248:
__sub-make] Error 2
make[1]: Leaving directory '/var/lib/dkms/evdi/1.14.10+dfsg/build'
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2120459
Title:
Failed to build against linux-6.17
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evdi/+bug/2120459/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs