diff options
| author | Tao Zhou <[email protected]> | 2020-10-02 16:23:07 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-10-12 18:01:46 +0000 |
| commit | f897ea3550bc9b4544063d71b142b7413c7a7554 (patch) | |
| tree | 1c90a715481e88e641a092f12cea15063d41931c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amdgpu: enable jpeg3.0 PG and CG for dimgrey_cavefish (diff) | |
| download | kernel-f897ea3550bc9b4544063d71b142b7413c7a7554.tar.gz kernel-f897ea3550bc9b4544063d71b142b7413c7a7554.zip | |
drm/amdgpu: enable front door loading for dimgrey_cavefish
Support both back and front door loading for dimgrey_cavefish.
Signed-off-by: Tao Zhou <[email protected]>
Reviewed-by: Hawking Zhang <[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 d068bffed742..07fb40ab0fc6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c @@ -392,12 +392,11 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type) case CHIP_SIENNA_CICHLID: case CHIP_NAVY_FLOUNDER: case CHIP_VANGOGH: + case CHIP_DIMGREY_CAVEFISH: if (!load_type) return AMDGPU_FW_LOAD_DIRECT; else return AMDGPU_FW_LOAD_PSP; - case CHIP_DIMGREY_CAVEFISH: - return AMDGPU_FW_LOAD_DIRECT; default: DRM_ERROR("Unknown firmware load type\n"); } |
