Fixing Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2 [RESOLVED]
Stuart Longland
stuartl at longlandclan.id.au
Mon Jul 24 03:25:27 UTC 2017
On 24/07/17 11:55, Stuart Longland wrote:
> Ahh okay, so it's a quirk of having it built into the kernel: it races
> mounting /. If I get a moment later today I'll try making `amdgpu` a
> module and see how I go.
Right, that fixed it. Downside with the module loading later is that I
don't get the rookery of penguins (16 of them) showing up on initial
boot, but big deal, it works. :-)
The changes, for anyone else that might strike this issue:
> vk4msl-ws /home/stuartl # diff -u /boot/config-4.13.0-rc1+.old /boot/config-4.13.0-rc1+
> --- /boot/config-4.13.0-rc1+.old 2017-07-21 19:25:06.000000000 +1000
> +++ /boot/config-4.13.0-rc1+ 2017-07-24 12:40:14.000000000 +1000
> @@ -1712,8 +1712,7 @@
> CONFIG_PREVENT_FIRMWARE_BUILD=y
> 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"
> +CONFIG_EXTRA_FIRMWARE=""
> CONFIG_FW_LOADER_USER_HELPER=y
> # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
> CONFIG_ALLOW_DEV_COREDUMP=y
> @@ -3576,7 +3575,7 @@
> #
> # Multifunction device drivers
> #
> -CONFIG_MFD_CORE=y
> +CONFIG_MFD_CORE=m
> # CONFIG_MFD_AS3711 is not set
> # CONFIG_PMIC_ADP5520 is not set
> # CONFIG_MFD_AAT2870_CORE is not set
> @@ -4339,7 +4338,7 @@
> CONFIG_DRM_FBDEV_EMULATION=y
> CONFIG_DRM_FBDEV_OVERALLOC=100
> CONFIG_DRM_LOAD_EDID_FIRMWARE=y
> -CONFIG_DRM_TTM=y
> +CONFIG_DRM_TTM=m
> CONFIG_DRM_VM=y
>
> #
> @@ -4349,7 +4348,7 @@
> CONFIG_DRM_I2C_SIL164=m
> # CONFIG_DRM_I2C_NXP_TDA998X is not set
> # CONFIG_DRM_RADEON is not set
> -CONFIG_DRM_AMDGPU=y
> +CONFIG_DRM_AMDGPU=m
> CONFIG_DRM_AMDGPU_SI=y
> CONFIG_DRM_AMDGPU_CIK=y
> CONFIG_DRM_AMDGPU_USERPTR=y
Many thanks. :-)
Regards,
--
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/20170724/4888082b/attachment.sig>
More information about the amd-gfx
mailing list