This requires the latest current

Build source with /etc/mk.conf containing:
MKAMDGPUFIRMWARE=yes

Adding the line:
SUBDIR+= amdgpu

to sys/modules/Makefile

Unpack gpu firmware and modules in / (or all sets)

and then edit the first entry in /boot.cfg:
Change:
-boot netbsd
+load amdgpu; boot netbsd

No need to make any changes to the kernel.

On Mon, Jul 25, 2022 at 01:58:59PM +0300, Riza Dindir wrote:
> Hello all,
> 
> I have tried to enable the amdgpu module/driver in the kernel
> configuration. Disabling the radeon driver module. The kernel did not
> recognize the graphics devices on my laptop.
> 
> How can we use the amdgpu kernel driver?
> 
> Does the amdgpu kernel driver support these graphics drivers with pci ids
> 0x1002 0x1309 (Kaveri [Radeon R6/R7 Graphics]) and 0x1002 0x6604 (Opal XT
> [Radeon R7
> M265/M365X/M465])?
> 
> In the driver source it lists these devices on the net. But my sources
> (have version 9.2) does list the 0x1309 device but not the 0x6604 device?
> 
> Does anyone know the status if the amdgpu kernel driver?
> 
> Kind regards
> Riza
> 
> On Fri, Jul 22, 2022, 17:58 Riza Dindir <riza.din...@gmail.com> wrote:
> 
> > Hello All,
> >
> > There is also an amdgpu kernel driver in the netbsd kernel source.
> > What is the status of that driver?
> >
> > My laptop has graphics devices with pci ids 0x1002 0x1309 (Kaveri
> > [Radeon R6/R7 Graphics]) and 0x1002 0x6604 (Opal XT [Radeon R7
> > M265/M365X/M465]). Would this driver *amdgpu) support both these
> > cards?
> >
> > Kind regards,
> > Riza
> >

Reply via email to