diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-01-03 23:30:53 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 01:02:18 +0300 |
commit | c88135c089e4d126ad1b2d9494a32d3d9160df4e (patch) | |
tree | 9ef9c7bd27baffbd74f2ccfaaa4fb4d8da3508b6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 9931b67690cf37ff539e4e7cafa9539179ee519f (diff) | |
download | linux-c88135c089e4d126ad1b2d9494a32d3d9160df4e.tar.xz |
drm/amd: Use `amdgpu_ucode_*` helpers for GFX11
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 symmetery 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