Bug 215285

Summary: power9 le: amdgpu: *ERROR* hw_init of IP block <psp> failed -22
Product: Platform Specific/Hardware Reporter: R0b0t1 (sid)
Component: PPC-64Assignee: platform_ppc-64
Status: CLOSED ANSWERED    
Severity: high CC: kernel, michael
Priority: P1    
Hardware: PPC-64   
OS: Linux   
Kernel Version: 5.15.6 Subsystem:
Regression: No Bisected commit-id:

Description R0b0t1 2021-12-09 21:41:08 UTC
POWER9 blackbird system from Talos. GPU is 6600XT. This seems to be a flip flop regression: https://gitlab.freedesktop.org/drm/amd/-/issues/1519

[   54.313046] [drm] Found VCN firmware Version ENC: 1.16 DEC: 2 VEP: 0 Revision: 1
[   54.313054] amdgpu 0000:03:00.0: amdgpu: Will use PSP to load VCN firmware
[   54.314153] amdgpu 0000:03:00.0: enabling bus mastering
[   54.570938] [drm:psp_hw_start [amdgpu]] *ERROR* PSP create ring failed!
[   54.571061] [drm:psp_hw_init [amdgpu]] *ERROR* PSP firmware loading failed
[   54.571175] [drm:amdgpu_device_fw_loading [amdgpu]] *ERROR* hw_init of IP block <psp> failed -22
[   54.571277] amdgpu 0000:03:00.0: amdgpu: amdgpu_device_ip_init failed
[   54.571279] amdgpu 0000:03:00.0: amdgpu: Fatal error during GPU init
[   54.571282] amdgpu 0000:03:00.0: amdgpu: amdgpu: finishing device.
[   54.572789] amdgpu: probe of 0000:03:00.0 failed with error -22
Comment 1 R0b0t1 2021-12-16 04:12:10 UTC
Probable cause: missing dependencies (https://bugs.gentoo.org/736994).
For PPC64, unsure of fix, see https://bugs.gentoo.org/829209 -- is there really a hard dependency on X86_64 and ACPI?
Comment 2 Michael Ellerman 2022-07-29 07:18:14 UTC
This would be better reported to the amdgpu developers:

https://gitlab.freedesktop.org/drm/amd/-/issues