diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-01-03 15:40:19 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 14:32:57 -0500 |
commit | 315d1716d64e61bd5c8ad13a725ada6c8a4574b9 (patch) | |
tree | 3866eadd192014a619dbdb6b6385660c14df8bd8 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | 515266373746ec5faee2ca797804276abb8880d1 (diff) |
drm/amd: Use `amdgpu_ucode_*` helpers for SMU
The `amdgpu_ucode_request` helper will ensure that the return code for
missing firmware is -ENODEV so that early_init can fail.
The `amdgpu_ucode_release` helper is for symmetry on unloading.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions