diff options
author | 2023-01-03 14:18:39 -0600 | |
---|---|---|
committer | 2023-01-09 17:02:18 -0500 | |
commit | ec787deb2ddffc6cd6afe0e2fbbbd490ddc383ed (patch) | |
tree | 5c2321c4701b5280dbe05566432d2be6ef74edf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amd: Remove superfluous assignment for `adev->mes.adev` (diff) | |
download | wireguard-linux-ec787deb2ddffc6cd6afe0e2fbbbd490ddc383ed.tar.xz wireguard-linux-ec787deb2ddffc6cd6afe0e2fbbbd490ddc383ed.zip |
drm/amd: Use `amdgpu_ucode_*` helpers for GFX9
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 will provide symmetry on unload.
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