Date: Mon, 24 Sep 2018 15:00:31 +0200 From: Claude Buisson <clbuisson@orange.fr> To: FreeBSD-x11@FreeBSD.org Subject: drm-legacy-kmod and gpu-firmware-kmod Message-ID: <f27f849d-5496-4e48-77e0-1da5f7a29a81@orange.fr>
next in thread | raw e-mail | index | archive | help
Hello, I tried to switch an i386 computer (with -CURRENT @ r338331) with an ATI Mobility Radeon X300 graphic card, from drm2 in base to drm-legacy-kmod in ports, after rebuilding the kernel without any drm/drm2 module. I installed: gpu-firmware-kmod-g20180825 drm-legacy-kmod-g20180826 The system booted, and I could start X, but the GL sreen savers I use as tests were very slow. In fact I found in Xorg.0.log: Failed to load firmware "radeonkmsfw_R300_cp" which is the firmware in the in base drm2, and does not exist under this name in the gpu-firmware-kmod port . Rebuilding: drm-legacy-kmod-g20180921 (patch sent by <zeising+freebsd at daemonic.se> to x11@ on Fri Sep 21) failed ../src/dev/drm2/drm_os_freebsd.c:397:2: error: implicit declaration of function 'pmap_force_invalidate_cache_range' is invalid in C99 [-Werror,-Wimplicit-function-declaration] pmap_force_invalidate_cache_range((vm_offset_t)addr, ^ ../src/dev/drm2/drm_os_freebsd.c:397:2: note: did you mean 'pmap_invalidate_cache_range'? ./machine/pmap.h:397:6: note: 'pmap_invalidate_cache_range' declared here void pmap_invalidate_cache_range(vm_offset_t sva, vm_offset_t eva, ^ ../src/dev/drm2/drm_os_freebsd.c:397:2: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] pmap_force_invalidate_cache_range((vm_offset_t)addr, ^ 2 errors generated. *** [drm_os_freebsd.o] Error code 1 Hoping for a real solution, CBu
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f27f849d-5496-4e48-77e0-1da5f7a29a81>