diff options
author | 2023-01-03 14:12:37 -0600 | |
---|---|---|
committer | 2023-01-09 17:02:18 -0500 | |
commit | 11e0b0067ec0707e8e598a5f9a547ab618ae7982 (patch) | |
tree | 5a86dddf3191f4b0c9bae93fe30e47989c2f077f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amd: Load MES microcode during early_init (diff) | |
download | wireguard-linux-11e0b0067ec0707e8e598a5f9a547ab618ae7982.tar.xz wireguard-linux-11e0b0067ec0707e8e598a5f9a547ab618ae7982.zip |
drm/amd: Use `amdgpu_ucode_*` helpers for MES
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 provides symmetry for releasing firmware.
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_gem.c')
0 files changed, 0 insertions, 0 deletions