<div dir="ltr"><div>Hello Alex, </div><div><br></div><div>Is this firmware differs on kernel version ? I am using linux kernel for embedded device. If not, can I use the ones I found with google ? </div><div><br></div><div>Thanks.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Alex Deucher <<a href="mailto:alexdeucher@gmail.com" target="_blank">alexdeucher@gmail.com</a>>, 24 Ara 2019 Sal, 21:00 tarihinde şunu yazdı:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Dec 24, 2019 at 1:38 AM Yusuf Altıparmak<br>
<<a href="mailto:yusufalti1997@gmail.com" target="_blank">yusufalti1997@gmail.com</a>> wrote:<br>
><br>
> 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 ?<br>
><br>
<br>
If you are building amdgpu into your kernel, you need to build the<br>
firmware into the kernel too. If you are using an initrd, you need to<br>
include the firmware in the initrd. The firmware is usually in<br>
/lib/firmware, but may vary a bit depending on your distro.<br>
<br>
Alex<br>
<br>
> Dmesg:<br>
> [ 5.425323] [drm] amdgpu kernel modesetting enabled.<br>
> [ 5.429066] amdgpu 0001:01:00.0: runtime IRQ mapping not provided by arch<br>
> [ 5.429609] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x6987 0x1787:0x2389 0x80).<br>
> [ 5.437091] [drm] register mmio base: 0x20200000<br>
> [ 5.445303] [drm] register mmio size: 262144<br>
> [ 5.448288] [drm] add ip block number 0 <vi_common><br>
> [ 5.451864] [drm] add ip block number 1 <gmc_v8_0><br>
> [ 5.455351] [drm] add ip block number 2 <tonga_ih><br>
> [ 5.458833] [drm] add ip block number 3 <powerplay><br>
> [ 5.462410] [drm] add ip block number 4 <dm><br>
> [ 5.465376] [drm] add ip block number 5 <gfx_v8_0><br>
> [ 5.468864] [drm] add ip block number 6 <sdma_v3_0><br>
> [ 5.472438] [drm] add ip block number 7 <uvd_v6_0><br>
> [ 5.475929] [drm] add ip block number 8 <vce_v3_0><br>
> [ 5.479530] [drm] UVD is enabled in VM mode<br>
> [ 5.482411] [drm] UVD ENC is enabled in VM mode<br>
> [ 5.485647] [drm] VCE enabled in VM mode<br>
> [ 5.717932] ATOM BIOS: 113-ER16BFC-001<br>
> [ 5.720412] [drm] GPU posting now...<br>
> [ 5.843160] [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-bit<br>
> [ 5.850175] amdgpu 0001:01:00.0: Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2<br>
> [ 5.858187] mc: Failed to load firmware "amdgpu/polaris12_mc.bin"<br>
> [ 5.863752] [drm:.gmc_v8_0_sw_init [amdgpu]] *ERROR* Failed to load mc firmware!<br>
> [ 5.870501] [drm:.amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gmc_v8_0> failed -2<br>
> [ 5.877918] amdgpu 0001:01:00.0: amdgpu_device_ip_init failed<br>
> [ 5.882365] amdgpu 0001:01:00.0: Fatal error during GPU init<br>
> [ 5.886722] [drm] amdgpu: finishing device.<br>
> [ 5.890054] amdgpu: probe of 0001:01:00.0 failed with error -2<br>
> _______________________________________________<br>
> amd-gfx mailing list<br>
> <a href="mailto:amd-gfx@lists.freedesktop.org" target="_blank">amd-gfx@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a><br>
</blockquote></div></div>