Bug 108780

Summary: Missing "hainan_mc.bin" firmware reference.
Product: DRI Reporter: code
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description code 2018-11-17 19:46:13 UTC
Original report: https://bbs.archlinux.org/viewtopic.php?id=241913

In drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c, a MODULE_FIRMWARE entry for "amdgpu/hainan_mc.bin" is missing, but gmc_v6_0_init_microcode() tries to load it if chip_name is "hainan".

As a result, some initramfs generators fail to pick up the required firmware from the module metadata and do not include it in the generated image. During boot, amdgpu now fails to load the firmware.

[    1.517399] amdgpu 0000:03:00.0: si_mc: Failed to load firmware "amdgpu/hainan_mc.bin"
Comment 1 Alex Deucher 2018-11-19 16:34:35 UTC
Fixed here:
https://patchwork.freedesktop.org/patch/262616/
Comment 2 Martin Peres 2019-11-19 09:04:17 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/610.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.