diff options
| author | Hawking Zhang <[email protected]> | 2020-04-13 07:49:27 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-03-24 02:59:19 +0000 |
| commit | 2f669734f383fe4c458e6ffcfa5de5a296660715 (patch) | |
| tree | 12e4052515fa6fa06f9609ea5ff30fb3de584a27 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amd/pm: Enable user min/max gfxclk on aldebaran (diff) | |
| download | kernel-2f669734f383fe4c458e6ffcfa5de5a296660715.tar.gz kernel-2f669734f383fe4c458e6ffcfa5de5a296660715.zip | |
drm/amdgpu: allow use psp to load firmware (v2)
Match existing asics.
v2: rebase (Alex)
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Kevin Wang <[email protected]>
Reviewed-by: Le Ma <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c index 358134b29c18..9733224117e3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -402,12 +402,11 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) case CHIP_NAVY_FLOUNDER: case CHIP_VANGOGH: case CHIP_DIMGREY_CAVEFISH: + case CHIP_ALDEBARAN: if (!load_type) return AMDGPU_FW_LOAD_DIRECT; else return AMDGPU_FW_LOAD_PSP; - case CHIP_ALDEBARAN: - return AMDGPU_FW_LOAD_DIRECT; default: DRM_ERROR("Unknown firmware load type\n"); } |
