diff options
author | Prike Liang <Prike.Liang@amd.com> | 2024-12-02 14:13:02 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-12-10 10:26:50 -0500 |
commit | d2382f29ce5467c4e5704eac1f55ad9d3f9ca970 (patch) | |
tree | b9fbce85f79be43970f0321c3066053700ef9a6f /drivers/gpu/drm/amd/amdgpu/psp_v13_0.h | |
parent | a567db808ec9482d8b4ce5f9e5fcbc9e6c5a6da9 (diff) |
drm/amdgpu: Avoid to release the FW twice in the validated error
There will to release the FW twice when the FW validated error.
Even if the release_firmware() will further validate the FW whether
is empty, but that will be redundant and inefficient.
Signed-off-by: Prike Liang <Prike.Liang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v13_0.h')
0 files changed, 0 insertions, 0 deletions