polaris12_mc.bin error

Alex Deucher alexdeucher at gmail.com
Tue Dec 24 18:00:45 UTC 2019


On Tue, Dec 24, 2019 at 1:38 AM Yusuf Altıparmak
<yusufalti1997 at gmail.com> wrote:
>
> Hello, I just compiled my 4.19 kernel with amdgpu driver (amdgpu as builtin). The driver is giving me  -2 error because of polaris12_mc.bin did not found. I couldn't find that file anywhere. How can i get polaris12_mc.bin and where should I place it ?
>

If you are building amdgpu into your kernel, you need to build the
firmware into the kernel too.  If you are using an initrd, you need to
include the firmware in the initrd.  The firmware is usually in
/lib/firmware, but may vary a bit depending on your distro.

Alex

> Dmesg:
> [    5.425323] [drm] amdgpu kernel modesetting enabled.
> [    5.429066] amdgpu 0001:01:00.0: runtime IRQ mapping not provided by arch
> [    5.429609] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6987 0x1787:0x2389 0x80).
> [    5.437091] [drm] register mmio base: 0x20200000
> [    5.445303] [drm] register mmio size: 262144
> [    5.448288] [drm] add ip block number 0 <vi_common>
> [    5.451864] [drm] add ip block number 1 <gmc_v8_0>
> [    5.455351] [drm] add ip block number 2 <tonga_ih>
> [    5.458833] [drm] add ip block number 3 <powerplay>
> [    5.462410] [drm] add ip block number 4 <dm>
> [    5.465376] [drm] add ip block number 5 <gfx_v8_0>
> [    5.468864] [drm] add ip block number 6 <sdma_v3_0>
> [    5.472438] [drm] add ip block number 7 <uvd_v6_0>
> [    5.475929] [drm] add ip block number 8 <vce_v3_0>
> [    5.479530] [drm] UVD is enabled in VM mode
> [    5.482411] [drm] UVD ENC is enabled in VM mode
> [    5.485647] [drm] VCE enabled in VM mode
> [    5.717932] ATOM BIOS: 113-ER16BFC-001
> [    5.720412] [drm] GPU posting now...
> [    5.843160] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit
> [    5.850175] amdgpu 0001:01:00.0: Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2
> [    5.858187] mc: Failed to load firmware "amdgpu/polaris12_mc.bin"
> [    5.863752] [drm:.gmc_v8_0_sw_init [amdgpu]] *ERROR* Failed to load mc firmware!
> [    5.870501] [drm:.amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gmc_v8_0> failed -2
> [    5.877918] amdgpu 0001:01:00.0: amdgpu_device_ip_init failed
> [    5.882365] amdgpu 0001:01:00.0: Fatal error during GPU init
> [    5.886722] [drm] amdgpu: finishing device.
> [    5.890054] amdgpu: probe of 0001:01:00.0 failed with error -2
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx


More information about the amd-gfx mailing list