Re: Is it possible to use the amdgpu driver with my Amd R7-240 gpu ?

2023-06-24 Thread Jonathan Gray
On Sat, Jun 24, 2023 at 09:32:48PM +0200, Matthieu Herrb wrote:
> On Sat, Jun 24, 2023 at 07:35:30PM +0300, chris greek wrote:
> > Is it possible to use the amdgpu driver with my Amd R7-240 gpu ?
> > Do i have to modify and compile the kernel so it would use amdgpu instead
> > of radeon ?
> 
> There is code to support your card (id 0x6631 if I figured it out
> correctly) in the amdgpu driver indeed. So as Jonathan said in answer
> to your previous mail you can tray to disable radrondrm from the boot
> prompt:
> 
>   boot -c
>   disable radeondrm*
>   quit
> 
> Then  the amdgpu driver should attach to your card.

No, amdgpu support for SI/CIK is not built.

It was used to bootstrap the driver in linux, and even now SI support is
labelled experimental.



Re: Is it possible to use the amdgpu driver with my Amd R7-240 gpu ?

2023-06-24 Thread Matthieu Herrb
On Sat, Jun 24, 2023 at 07:35:30PM +0300, chris greek wrote:
> Is it possible to use the amdgpu driver with my Amd R7-240 gpu ?
> Do i have to modify and compile the kernel so it would use amdgpu instead
> of radeon ?

There is code to support your card (id 0x6631 if I figured it out
correctly) in the amdgpu driver indeed. So as Jonathan said in answer
to your previous mail you can tray to disable radrondrm from the boot
prompt:

  boot -c
  disable radeondrm*
  quit

Then  the amdgpu driver should attach to your card.

In addition you can force the download of the amdgpu firmware in
advance by running :

  fw_update amdgpu

If this works, see the config(8) manual page for details to save the
modified kernel.
-- 
Matthieu Herrb