]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: remove ASD ucode init for dimgrey_cavefish
authorTao Zhou <tao.zhou1@amd.com>
Sat, 10 Oct 2020 07:42:46 +0000 (15:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 12 Oct 2020 18:03:01 +0000 (14:03 -0400)
dimgrey_cavefish has no ASD ucode currently, remove its initialization.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Jack Gui <Jack.Gui@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c

index 993846f1d89f9dbc7fae17cc17466dccd05c86f9..b4cb31c3fe026b43e6130c295e00e6a5f53f4154 100644 (file)
@@ -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;