Re: [PATCH v3 1/2] MIPS: Loongson: Build ATI Radeon GPU driver as module

From: Thomas Bogendoerfer
Date: Sun May 17 2020 - 04:55:48 EST


On Sat, May 16, 2020 at 10:15:48AM +0800, Tiezhu Yang wrote:
> When ATI Radeon GPU driver has been compiled directly into the kernel
> instead of as a module, we should make sure the firmware for the model
> (check available ones in /lib/firmware/radeon) is built-in to the kernel
> as well, otherwise there exists the following fatal error during GPU init,
> change CONFIG_DRM_RADEON=y to CONFIG_DRM_RADEON=m to fix it.
>
> [ 1.900997] [drm] Loading RS780 Microcode
> [ 1.905077] radeon 0000:01:05.0: Direct firmware load for radeon/RS780_pfp.bin failed with error -2
> [ 1.914140] r600_cp: Failed to load firmware "radeon/RS780_pfp.bin"
> [ 1.920405] [drm:r600_init] *ERROR* Failed to load firmware!
> [ 1.926069] radeon 0000:01:05.0: Fatal error during GPU init
> [ 1.931729] [drm] radeon: finishing device.
>
> Fixes: 024e6a8b5bb1 ("MIPS: Loongson: Add a Loongson-3 default config file")
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
> ---
>
> v2:
> - Modify the patch subject and update the commit message
>
> v3:
> - No changes
>
> arch/mips/configs/loongson3_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]