[PATCH 1/2] drm/amdgpu: remove ASD ucode init for dimgrey_cavefish

Tao Zhou tao.zhou1 at amd.com
Sat Oct 10 07:57:18 UTC 2020


dimgrey_cavefish has no ASD ucode currently, remove its initialization.

Signed-off-by: Tao Zhou <tao.zhou1 at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c
index 993846f1d89f..b4cb31c3fe02 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;
-- 
2.17.1



More information about the amd-gfx mailing list