]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
drm/amdgpu: add PSP IP v14.0.4 support
authorTim Huang <Tim.Huang@amd.com>
Tue, 14 May 2024 07:53:25 +0000 (15:53 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2024 22:06:30 +0000 (18:06 -0400)
This patch is to add PSP 14.0.4 support.

Signed-off-by: Tim Huang <Tim.Huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c

index e15814d9ca17b3ab13497bf32845c43fa0576653..800cc7a148b20054d58fbc1223bd62c489e20e0d 100644 (file)
@@ -219,6 +219,7 @@ static int psp_early_init(void *handle)
        case IP_VERSION(13, 0, 11):
        case IP_VERSION(14, 0, 0):
        case IP_VERSION(14, 0, 1):
+       case IP_VERSION(14, 0, 4):
                psp_v13_0_set_psp_funcs(psp);
                psp->boot_time_tmr = false;
                break;
index b52e15e2dcc7dc375c6b1014ce52512bcf88df7c..407477b895d1d4e2e54c9773c9d129798fde8b28 100644 (file)
@@ -106,6 +106,7 @@ static int psp_v13_0_init_microcode(struct psp_context *psp)
        case IP_VERSION(13, 0, 11):
        case IP_VERSION(14, 0, 0):
        case IP_VERSION(14, 0, 1):
+       case IP_VERSION(14, 0, 4):
                err = psp_init_toc_microcode(psp, ucode_prefix);
                if (err)
                        return err;