tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD AMDGPU Cezanne: Best Way?
On Fri, Nov 13, 2026 at 09:14:51AM +0200, Andrius V wrote:
> On Mon, Nov 9, 2026 at 8:33???PM wwr lowkstupidaf
> <wwr.lowkstupidaf.2010%gmail.com@localhost> wrote:
> >
> > Okay, so some Exposition: I have a ThinkPad E14 Gen 4, and it uses an
> > AMD Ryzen 5625U with integrated graphics (cezanne generation).
> > However, netbsd doesn't appear to support or even have the pci id for
> > cezanne cards in the driver.
> >
> > How do I go about implementation? Do I:
> > A: Hack on the existing drm version to add basic cezanne support, or
> > B: try my hand at porting a newer drm version to netbsd
> >
> > Help would be appreciated! Also, does the driver work with Renoir?
> >
> > - RWX, professional idiot at his wits end
>
> Hi,
>
> Even for supported cards current support is far from the ideal,
> especially with hardware acceleration enabled.
>
> That said, cezanne is vega GPU (Renoir), which seemingly has some
> support in current driver, so it is plausible that basic support is
> just adding your PCI IDs to amdgpu_drv.c.
>
> Option B is quite a big undertaking. Not sure if somebody works on it
> now, but it is in the plans.
>
> Regards,
> Andrius V
well, a few problems.
Ive tried both options, and eventually ended up switching to openbsd, so here
is a brief breakdown of what didnt work:
1. Cezanne (and barcelo) cannot use renoir firmware. they have their own
firmware binaries (green_sardine vs renoir).
2. I went about it by essentially adding a new ASIC id thingy for cezanne,
but cezanne relies on functional IP discovery logic in the driver. linux 5.6
or netbsds drm port or whatever doesnt seem to have that, and there just isnt
a cezanne gpu info fw binary on the internet ANYWHERE.
3. porting drm 6.6 was something i tried after option A failed, but it relies on headers that are in different places than normal and shims that im not properly
equipped to write given my shitty lack of experience in writing driver code (and my lack of experience with netbsd code and linux code).
In conclusion, cezanne is cooked on netbsd 11.x .
--
===
// wwr, professional idiot
Home |
Main Index |
Thread Index |
Old Index