diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-01-04 08:37:05 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 14:32:58 -0500 |
commit | b406477c614f08473eb4c95c22e90331a931d1be (patch) | |
tree | 21162f766ed75c1575df2dd1364418a9f848cdbb /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | cb9bdfad2274a58bd01d188727aed20b4baf5f44 (diff) |
drm/amd: Use `amdgpu_ucode_*` helpers for UVD
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_vce.c')
0 files changed, 0 insertions, 0 deletions