aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2019-01-30 23:19:54 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-06-20 22:46:50 -0400
commitbb67469e29f30462582fbf55690f1a41249fc1a5 (patch)
treed8e34b1abc44299335406432c86faaf966788711 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent119eb6db542f9d81ba9e488175ac171f3b29aee2 (diff)
drm/amdgpu: enable psp front door loading by default on navi10
Required for production hw and vddgfx. Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Le Ma <Le.Ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c3
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 ee54d9e0ce1f..09f384ce8cd7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
@@ -336,12 +336,11 @@ amdgpu_ucode_get_load_type(struct amdgpu_device *adev, int load_type)
336 case CHIP_RAVEN: 336 case CHIP_RAVEN:
337 case CHIP_VEGA12: 337 case CHIP_VEGA12:
338 case CHIP_VEGA20: 338 case CHIP_VEGA20:
339 case CHIP_NAVI10:
339 if (!load_type) 340 if (!load_type)
340 return AMDGPU_FW_LOAD_DIRECT; 341 return AMDGPU_FW_LOAD_DIRECT;
341 else 342 else
342 return AMDGPU_FW_LOAD_PSP; 343 return AMDGPU_FW_LOAD_PSP;
343 case CHIP_NAVI10:
344 return AMDGPU_FW_LOAD_DIRECT;
345 default: 344 default:
346 DRM_ERROR("Unknown firmware load type\n"); 345 DRM_ERROR("Unknown firmware load type\n");
347 } 346 }