From owner-freebsd-x11@freebsd.org Tue Sep 25 17:46:28 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 37C3A10B7190 for ; Tue, 25 Sep 2018 17:46:28 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A88647A9C3 for ; Tue, 25 Sep 2018 17:46:27 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id l10-v6so1108618wrp.3 for ; Tue, 25 Sep 2018 10:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tOFmVDwlOvjMvq3AdcCVfeYq+JTBGe3OCf5V06kNr0g=; b=OpNQ/v8abVBS2IH56d3LuUfVXA/oA+0RDNoaaGgN7LygINrqu/L9Z2F42mqPBoR4OE k++j2CCd/Onb0umESpfx5DivKiPRvm7UVaUEPqwB/QWrcOwgBFkFZ8P5u9rb0Skp8xJO Y76YxdyOWPmIfh4cvrObb5O1O5YfGjHaIW1euejVEaHNEorXpzRySDn0J3DPegVvd7+g 72H73mS7r9bDa21oHyL/LgkICuK1XrfeishEni5fDoJUR3ytHKdnJ7BRKv7W6wR5hq0P WPjB5hfCuRvqoboosI9+XbLysZbXYt4RPTnDBDcydsL/Mkb0gLhpO7LziHBnovE+/UhO jZ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tOFmVDwlOvjMvq3AdcCVfeYq+JTBGe3OCf5V06kNr0g=; b=fDlvp9dJPF7hra4V4HE8IJSTBr/cT/kMzK98gWQuudatnU3fUSq1WtWmUmJbhcDVqe c2JmOMaqo4I7cJKo71wQLVtfbbW8+Q4YQktcioXZR5xo41lryTX1ghyEIb5l0WoGAx2x sLsTVHDyCsT001zN18gG0pvTgJ9Gn5WslORamw/11sbquuFshVlbbSmYPp8zsH2xRnX+ LffHjnd4DL6eGpEKje8nPPP85Wk0lSogaKqvEoURpLI1xCGNba8MWw6DdDlWBtQ9gVe3 mQlWM/qHF2zU6uOhGS3kyZ6y9+CURBlbjFlY/JcxwbsnC7gX52ngo4NbGs5REvxHUakV Hjdw== X-Gm-Message-State: ABuFfohQfJ61xLTCb8AZ62JXFBF0ifTNDtbfbAUnGC5CyUSP8iR2c0Tg H2sR5q83SCAiSWJWOw6/W+rBaYCrIVwypIlwCYE= X-Google-Smtp-Source: ACcGV62c3/Fzph9hEjAAOk/2lGy9gZ6J4V6CRY/9gcPGqyHqOBW22ZwKHOn6W8dan/IrLJenRiE7vM6XnTrhICKqr/c= X-Received: by 2002:adf:fa0f:: with SMTP id m15-v6mr2099879wrr.155.1537897585865; Tue, 25 Sep 2018 10:46:25 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Johannes Lundberg Date: Tue, 25 Sep 2018 10:46:15 -0700 Message-ID: Subject: Re: drm-legacy-kmod and gpu-firmware-kmod To: Claude Buisson Cc: FreeBSD-x11@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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: Tue, 25 Sep 2018 17:46:28 -0000 On Mon, Sep 24, 2018 at 06:01 Claude Buisson wrote: > 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, Hi There=E2=80=99s was a change in the pmap kpi, without bumping the version s= o there=E2=80=99s a span of about 2 weeks where build will fail. Make sure y= our kernel is at least r338807 or less than version 1200084. > > CBu > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >