drm/amd: Evaluate early init for all IP blocks even if one fails
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 15 Jan 2023 19:05:31 +0000 (13:05 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 17 Jan 2023 21:11:51 +0000 (16:11 -0500)
commitced6950276d21c6b68541dc627cae1488144f5a1
tree58fd8433225721b30358bcd3eb859087df8b000e
parentbda88a26f578520e081d532b5773a1a9c2c421eb
drm/amd: Evaluate early init for all IP blocks even if one fails

If early init fails for a single IP block, then no further IP blocks
are evaluated.  This means that if a user was missing more than one
firmware binary they would have to keep adding binaries and re-probing
until they discovered the ones missing.

To make this easier, run early init for each IP block and report a single
failure if not all passed.

Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c