Kernel – Pre-6.14rc testing – VMware OK, and Simple Fix for NVIDIA..
Kernel 6.14-rc1 will be released soon, and I have been testing the code changes submitted so far (February 26th) with the following results:
VMware 17.6.2 – including ‘clean up’ patchset from https://github.com/64kramsystem/vmware-host-modules-fork/tree/workstation-17.6.2-sav – compiles OK, but with the usual host of ‘warnings’, which seem to be accepted as good-enough these days..
NVIDIA 550.144.03 compile fails with:
.......................
LD [M] nvidia-modeset.o
CC [M] nvidia-drm/nvidia-drm.o
CC [M] nvidia-drm/nvidia-drm-drv.o
nvidia-drm/nvidia-drm-drv.c:1733:6: error: ‘struct drm_driver’ has no member named ‘date’
1733 | .date = "20160202",
| ^~~~
nvidia-drm/nvidia-drm-drv.c:1733:31: error: initialization of ‘unsigned int’ from ‘char *’ makes integer from pointer without a cast [-Wint-conversion]
1733 | .date = "20160202",
| ^~~~~~~~~~
This is due to the change described in https://www.spinics.net/lists/amd-gfx/msg115263.html .
[PATCH 2/2] drm: remove driver date from struct drm_driver and all drivers
— remove the unused date member from struct drm_driver
As this simply removes the ‘date’ parameter, then do the same to the NVIDIA code, by commenting out that parameter:
NVIDIA-Linux-x86_64-550.144.03/kernel/nvidia-drm/nvidia-drm-drv.c
around line 1730….
...........................................
#if defined(NV_DRM_BUS_PRESENT)
.bus = &nv_drm_bus,
#endif
.name = "nvidia-drm",
.desc = "NVIDIA DRM driver",
/* 'date' removed in 6.14.. https://www.spinics.net/lists/amd-gfx/msg115263.html
.date = "20160202",*/
......................................
– and then the driver compiles etc. OK..
Obviously there are more changes to come, so more fixes may be necessary……..
Robert Gadsdon. January 27th 2025.
Comments
Kernel – Pre-6.14rc testing – VMware OK, and Simple Fix for NVIDIA.. — No Comments