Bug 198513

Summary: [DRM] amdgpu fails to load firmware on boot
Product: Drivers Reporter: Matt (m.mcnutt)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED INVALID    
Severity: high CC: alexdeucher
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 4.15rc7.git4.1 and above Subsystem:
Regression: Yes Bisected commit-id:

Description Matt 2018-01-19 03:41:12 UTC
on Fedora kernel 4.15rc7git4.1 and above with R9 NANO (Fiji) GPU dmesg shows a failure to load the firmware. cloned the latest firmware from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ still fails to load.

[    2.423859] amdgpu 0000:26:00.0: Direct firmware load for amdgpu/fiji_pfp.bin failed with erro
r -2
[    2.423860] amdgpu 0000:26:00.0: gfx8: Failed to load firmware "amdgpu/fiji_pfp.bin"
[    2.423897] [drm:gfx_v8_0_sw_init [amdgpu]] *ERROR* Failed to load gfx firmware!
[    2.423924] [drm:amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gfx_v8_0> failed -2
[    2.423926] amdgpu 0000:26:00.0: amdgpu_init failed


dropping back to 4.15rc7git0.1 and all loads correctly, no longer drops back to llvmpipe as a fallback.
Comment 1 Matt 2018-01-19 03:42:33 UTC
Forgot to mention I have amdgpu.dc=1 kernel parameter set, however the same behaviour is exposed without the parameter
Comment 2 Alex Deucher 2018-01-19 07:16:46 UTC
The firmware is not available for some reason.  Depending on how you've configured your kernel, make sure the firmware is either:
1. included in the initrd if you are using one
or
2. built into the kernel if the driver is built into the kernel
Comment 3 Matt 2018-01-19 11:20:57 UTC
purged all my 4.15 kernels and reverted to the latest Fedora 4.14, then reinstalled 4.15 - that seems to have regenerated the initrd

all good now, resolving