drm/amdgpu: init psp v13 ip function
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 13 Apr 2020 07:07:54 +0000 (15:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:52:15 +0000 (22:52 -0400)
Initialze psp ip function for aldebaran

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c

index 839917e..8851889 100644 (file)
@@ -34,6 +34,7 @@
 #include "psp_v10_0.h"
 #include "psp_v11_0.h"
 #include "psp_v12_0.h"
+#include "psp_v13_0.h"
 
 #include "amdgpu_ras.h"
 #include "amdgpu_securedisplay.h"
@@ -109,6 +110,9 @@ static int psp_early_init(void *handle)
        case CHIP_RENOIR:
                psp_v12_0_set_psp_funcs(psp);
                break;
+       case CHIP_ALDEBARAN:
+               psp_v13_0_set_psp_funcs(psp);
+               break;
        default:
                return -EINVAL;
        }