diff options
author | 2023-01-04 08:34:28 -0600 | |
---|---|---|
committer | 2023-01-10 14:32:57 -0500 | |
commit | 39d3649b1647d5af1e6870dc533fdcf615c2a0a3 (patch) | |
tree | 6a7f4e932a582f640313a24faff98f92ac1828bc /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
parent | drm/amd: Optimize SRIOV switch/case for PSP microcode load (diff) | |
download | linux-rng-39d3649b1647d5af1e6870dc533fdcf615c2a0a3.tar.xz linux-rng-39d3649b1647d5af1e6870dc533fdcf615c2a0a3.zip |
drm/amd: Use `amdgpu_ucode_*` helpers for GFX6
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_drv.c')
0 files changed, 0 insertions, 0 deletions