From nobody Sun May 19 18:47:17 2024 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vj8nw4jZxz5Kwhg for ; Sun, 19 May 2024 18:47:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vj8nw2WSmz536v for ; Sun, 19 May 2024 18:47:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a5a5cb0e6b7so664045466b.1 for ; Sun, 19 May 2024 11:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1716144451; x=1716749251; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5FHG1TUp8W2KZaHanGSpyb+mod0yr8ZbWSifMU9JB10=; b=UeoO0sItsWGRoKFWxkDYenZlMYqeFJHPhbE5CipcX8QI1luse0m3VjyLviK/0QOJzp jQUyXNr2oDZwbk0Rx9k5qFdEpeYJ6XAe/Gy+Yvo3i+CiT6eeWbXFtfWnERMFhlwUMzj/ unBStOIEnYMyAZBH+ZVuHX4bz5GJSc95dputpZUdc8yM6ez9NuSdgNHVZjwfTlJWwGOd CpJR2AzOoGtAjcRv7IKup1jyAq8v0hN04cdODyuMZ2Wwy+hTx8bfHMimKPNsLLRva2aI /is+UmrftvpIiyzWwC5PZk4zJVjyks3hPlvzSrcIxm6WaDH43ihp1isgA2rMPgHbulfo XJuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716144451; x=1716749251; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5FHG1TUp8W2KZaHanGSpyb+mod0yr8ZbWSifMU9JB10=; b=pey9S5lwGrBwCFLmUVrGhCSVCO3PHbjgMovCh5p2/bk3deHDiN4p5ppYo4UpcM0eCX uWxATxbcrNHpMklzsLuR+zbIxS7VwmRMavHWMTQHIjPKNVRKRBDywXzFRavCDh18zOe+ pMdMwNJ4SNfByRdpc2mK591271nub8n+EkYYHJxfs2BcalbZNJbuoriKnqYlBFmqADh+ Oxqw5Ffw/Q8chyKKxfpzkDu9QWZVE1u++DOtNsKzorQiOspLNDt5UZ1ylHxyhFfRZ4rM MxHRlsugN+Xzmozc/RntwSi1U3hHYKBX4XQezwDyHsYH7bLbfmizEnJour00ixqd7OSO Uw8A== X-Gm-Message-State: AOJu0YzGeUyWymER6FUz2PQciq8cRXc+v5Fq5LI/vvUPWinbcirwxJKs eI4b1lC8qtI8ChF7kv/abhcLAjoIMcE9r+TFu6VgisYfq4frHLVmpPupSCLeyObDQgoocYIz4ao EBL8kY0C+kTeJ+/DqEDEeAYyo2E5ONlqTd0DAVQ== X-Google-Smtp-Source: AGHT+IHlssd+16soRMNloOYNeLBgX//WbdOKCQR+81v7AXu/udqbGxAkl5v0Q6W7dQJLww75TOYtYUw/ww1KNvuKffk= X-Received: by 2002:a17:907:6e8d:b0:a59:aa68:9992 with SMTP id a640c23a62f3a-a5a2d57ab93mr2402364166b.18.1716144450796; Sun, 19 May 2024 11:47:30 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sun, 19 May 2024 12:47:17 -0600 Message-ID: Subject: Re: rpi4 VideoCore VI graphics To: pyrus@bsdmail.com Cc: "freebsd-arm@freebsd.org" , Nuno Teixeira Content-Type: multipart/alternative; boundary="0000000000005f9a2b0618d3049e" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4Vj8nw2WSmz536v --0000000000005f9a2b0618d3049e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 19, 2024, 12:37=E2=80=AFPM wrote: > > Is there any progression on rpi4 VideoCore VI graphics that I can > follow? > > Any plans on FreeBSD support? > > Not sure if https://forums.raspberrypi.com/viewtopic.php?t=3D317511 is > applicable. In the Linux kernel, at least their DRM implementation, VC4 i= s > used for 2D for both VideoCoreVI and VideoCoreVI. For 3D through Mesa, VC= 4 > is used for VideoCoreIV, and V3D is used for VideoCoreVI. > Very informative. 3D Mesa drivers for VideoCore IV & VI are available at > https://docs.mesa3d.org/drivers/ and are permissively licensed. > > NetBSD for arm actually has VideoCore kernel module drivers in its base, > https://wiki.netbsd.org/projects/project/vc4/. It's permissively licensed= , > but may have issues with 64bit architectures, so the source may need to b= e > troubleshooted and compiled for 64bit. This comes with vchiq and vcaudio. > > There's additional userland VideoCore libraries for NetBSD through pkgsrc= , > http://blog.netbsd.org/tnf/entry/raspberry_pi_gpu_acceleration_in , but > these may be in 32bit > Cool. Hopefully people will be motivated to port this stuff.. Warner > --0000000000005f9a2b0618d3049e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sun, May 19, 2024, 12:37=E2=80=AFPM <pyrus@bsdmail.com> wrote:
> Is there any progression on rpi4 VideoCore VI= graphics that I can
follow?
> Any plans on FreeBSD support?

Not sure if https://forums.raspber= rypi.com/viewtopic.php?t=3D317511 is
applicable. In the Linux kernel, at least their DRM implementation, VC4 is<= br> used for 2D for both VideoCoreVI and VideoCoreVI. For 3D through Mesa, VC4<= br> is used for VideoCoreIV, and V3D is used for VideoCoreVI.
<= /div>

Very informative.= =C2=A0

3D Mesa drivers for VideoCore IV & VI are available at
https://docs.mesa3d.org/drivers/ and are permissively= licensed.

NetBSD for arm actually has VideoCore kernel module drivers in its base, https://wiki.netbsd.org/projects/project/vc4= /. It's permissively licensed,
but may have issues with 64bit architectures, so the source may need to be<= br> troubleshooted and compiled for 64bit. This comes with vchiq and vcaudio.
There's additional userland VideoCore libraries for NetBSD through pkgs= rc,
http://blog.netbsd.org/t= nf/entry/raspberry_pi_gpu_acceleration_in , but
these may be in 32bit

Cool. Hopefully people will be motivated to port this = stuff..

Warner=C2=A0
--0000000000005f9a2b0618d3049e--