From: Tao Zhou Date: Sat, 10 Oct 2020 07:42:46 +0000 (+0800) Subject: drm/amdgpu: remove ASD ucode init for dimgrey_cavefish X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=78aafee761ab001ff66532d527b47c3609d0ac7f;p=linux.git drm/amdgpu: remove ASD ucode init for dimgrey_cavefish dimgrey_cavefish has no ASD ucode currently, remove its initialization. Signed-off-by: Tao Zhou Reviewed-by: Jack Gui Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index 993846f1d89f9..b4cb31c3fe026 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c @@ -201,9 +201,6 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) break; case CHIP_DIMGREY_CAVEFISH: err = psp_init_sos_microcode(psp, chip_name); - if (err) - return err; - err = psp_init_asd_microcode(psp, chip_name); if (err) return err; break;