drm/amdgpu: Add PSP public function to load a list of FWs
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 16 Mar 2021 12:56:43 +0000 (20:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:46:18 +0000 (16:46 -0400)
commita2052839cd9fc5ee76c3ba05efbc939219b53cb4
treed380255c4896925d24f7db9d0d2a0b48cee211df
parent04442bf70debb197d4ed4e850aa77213e685b352
drm/amdgpu: Add PSP public function to load a list of FWs

v1: Adds a function to load a list of FWs as passed by the caller. This is
needed as only a select need to loaded for some use cases.

v2: Omit unrelated change, remove info log, fix return value when count is 0

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h