diff options
author | Monk Liu <[email protected]> | 2020-02-21 14:54:29 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-02-25 11:01:49 -0500 |
commit | 82c4ebfa35140a75259eed435134e150ac8e459a (patch) | |
tree | d241e409a2d0c07732b6055e083cc6cb8f56bf34 | |
parent | c2ecd79bec4ecc7f4fa52d91ea9bd3d69e3f54d5 (diff) |
drm/amdgpu: fix psp ucode not loaded in bare-metal
for bare-metal we alawys need to load sys/sos/kdb
Signed-off-by: Monk Liu <[email protected]>
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 3494966da60e..51839ab02b84 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -1081,7 +1081,7 @@ static int psp_hw_start(struct psp_context *psp) struct amdgpu_device *adev = psp->adev; int ret; - if (!amdgpu_sriov_vf(adev) && !adev->in_gpu_reset) { + if (!amdgpu_sriov_vf(adev)) { if (psp->kdb_bin_size && (psp->funcs->bootloader_load_kdb != NULL)) { ret = psp_bootloader_load_kdb(psp); |