From owner-freebsd-x11@freebsd.org Mon Sep 24 13:00:46 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6274110ABBDC for ; Mon, 24 Sep 2018 13:00:46 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from smtp.smtpout.orange.fr (smtp02.smtpout.orange.fr [80.12.242.124]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C98C800F5 for ; Mon, 24 Sep 2018 13:00:44 +0000 (UTC) (envelope-from clbuisson@orange.fr) Received: from localhost ([92.134.114.191]) by mwinf5d56 with ME id fR0Y1y00C47q9Nc03R0Zsc; Mon, 24 Sep 2018 15:00:35 +0200 X-ME-Helo: localhost X-ME-Auth: Y2xidWlzc29uQHdhbmFkb28uZnI= X-ME-Date: Mon, 24 Sep 2018 15:00:35 +0200 X-ME-IP: 92.134.114.191 To: FreeBSD-x11@FreeBSD.org From: Claude Buisson Subject: drm-legacy-kmod and gpu-firmware-kmod Message-ID: Date: Mon, 24 Sep 2018 15:00:31 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Sep 2018 13:00:46 -0000 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 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