diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-01-03 23:18:39 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 01:02:18 +0300 |
commit | ec787deb2ddffc6cd6afe0e2fbbbd490ddc383ed (patch) | |
tree | 5c2321c4701b5280dbe05566432d2be6ef74edf4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | e78105c8c432368682fc13f18e164e89ad705910 (diff) | |
download | linux-ec787deb2ddffc6cd6afe0e2fbbbd490ddc383ed.tar.xz |
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