Closed olegsidorkin closed 4 years ago
Dumb patch (copy-pasted missing branches from psp_v10) does help patch-drivers_gpu_drm_amd_amdgpu_pspv110.c.txt
Not sure if it is the right fix
The right fix is probably upgrading to a newer upstream version like 5.4…
Yes. I've tried to copy and build the newer driver from 5.5. DRM was changed a lot. It will definitely require more time than one evening.
We don't just copy files, we keep the git history. I guess @johalun might have some kind of script to automate cherry-picking of commits that touch the drm directory or something :)
Sorry for that failure! I would hope a cherry-pick of the commit containing the fix from upstream should be OK?
I can test it a bit if it is neccessary. I think we should ask @johalun as major contributor
After recent sync the problem still here. If there is an upstream fix, it, probably, should be merged.
Fixed in #236
initialization sequense fails with the following message:
firmware: 'amdgpu/vega20_smc.bin' version 0: 262912 bytes loaded at 0xffffffff82856000 drmn0: successfully loaded firmware image with name: amdgpu/vega20_smc.bin firmware: 'amdgpu/vega20_uvd.bin' version 0: 379328 bytes loaded at 0xffffffff82899000 drmn0: successfully loaded firmware image with name: amdgpu/vega20_uvd.bin [drm] Found UVD firmware ENC: 1.1 DEC: .23 Family ID: 19 [drm] PSP loading UVD firmware firmware: 'amdgpu/vega20_vce.bin' version 0: 165408 bytes loaded at 0xffffffff828f8000 drmn0: successfully loaded firmware image with name: amdgpu/vega20_vce.bin [drm] Found VCE firmware Version: 55.5 Binary ID: 4 [drm] PSP loading VCE firmware [drm] reserve 0x400000 from 0x8000c00000 for PSP TMR SIZE [drm ERROR :psp_v11_0_prep_cmd_buf] Unknown firmware type [drm ERROR :psp_hw_init] PSP firmware loading failed [drm ERROR :amdgpu_device_fw_loading] hw_init of IP block <psp> failed -22 drmn0: amdgpu_device_ip_init failed drmn0: Fatal error during GPU init
It tries to load firmware of type AMDGPU_UCODE_ID_RLC_RESTORE_LIST_CNTL that is not supported by psp_11.