Fixing Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2

Stuart Longland stuartl at longlandclan.id.au
Fri Jul 21 09:44:43 UTC 2017


On 21/07/17 19:20, Stuart Longland wrote:
> I have also tried the drm-next branch of the kernel, commit
> a26307ced13c6f1ad82593964e303b053586b064, with the same effect.
> 
> I can confirm that /lib/firmware/amdgpu/polaris12_mc.bin exists.  So I
> have no idea why I am getting -ENOENT (aka error -2).  If the file isn't
> to go in /lib/firmware, then where do I put it?

The following .config options in the kernel have worked around the issue
I think:

> CONFIG_FW_LOADER=y
> # CONFIG_FIRMWARE_IN_KERNEL is not set
> CONFIG_EXTRA_FIRMWARE="amdgpu/polaris12_ce.bin amdgpu/polaris12_mc.bin amdgpu/polaris12_me.bin amdgpu/polaris12_mec2.bin amdgpu/polaris12_mec.bin amdgpu/polaris12_pfp.bin amdgpu/polaris12_rlc.bin amdgpu/polaris12_sdma1.bin amdgpu/polaris12_sdma.bin amdgpu/polaris12_smc.bin amdgpu/polaris12_uvd.bin amdgpu/polaris12_vce.bin"
> CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"

Testing with some of the OpenGL screensavers in xscreensaver seems to
show reasonable performance (well, good enough for my needs: this is a
work PC).

I'm not sure that's the proper solution though.  It at least confirms my
firmware binaries are good though, otherwise I'm certain it wouldn't be
working there either.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20170721/72528690/attachment.sig>


More information about the amd-gfx mailing list