]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Loongson: Build ATI Radeon GPU driver as module
authorTiezhu Yang <yangtiezhu@loongson.cn>
Sat, 16 May 2020 02:15:48 +0000 (10:15 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Sun, 17 May 2020 08:25:10 +0000 (10:25 +0200)
commitcc44ec629a6331c02c8195b7d200a96684466868
tree8fbcad372d26a593f3b109d021bd733fa3f3fee6
parent94b3c5ddece8e13dedd83fcdd4b628f9ac158744
MIPS: Loongson: Build ATI Radeon GPU driver as module

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: 0d071c035ee0 ("MIPS: Loongson: Add a Loongson-3 default config file")
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/configs/loongson3_defconfig