diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-01-04 00:40:19 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 22:32:57 +0300 |
commit | 315d1716d64e61bd5c8ad13a725ada6c8a4574b9 (patch) | |
tree | 3866eadd192014a619dbdb6b6385660c14df8bd8 /scripts/gdb/linux/utils.py | |
parent | 515266373746ec5faee2ca797804276abb8880d1 (diff) | |
download | linux-315d1716d64e61bd5c8ad13a725ada6c8a4574b9.tar.xz |
drm/amd: Use `amdgpu_ucode_*` helpers for SMU
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 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions