diff options
| author | Likun Gao <[email protected]> | 2021-06-30 09:54:30 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 13:55:27 +0000 |
| commit | 911a75043f9e062fe232eb9fb428948afd80219b (patch) | |
| tree | 971149095b3817336dd1e54ceae6929610914d96 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amdgpu: add support for spl fw load on psp v13 (diff) | |
| download | kernel-911a75043f9e062fe232eb9fb428948afd80219b.tar.gz kernel-911a75043f9e062fe232eb9fb428948afd80219b.zip | |
drm/amdgpu: support psp v13_0_0 microcode init
Support psp v13_0_0 microcode init.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index ccb7106b2f27..5aba4cb9338a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -82,6 +82,7 @@ static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp case IP_VERSION(11, 0, 11): case IP_VERSION(11, 0, 12): case IP_VERSION(11, 0, 13): + case IP_VERSION(13, 0, 0): case IP_VERSION(13, 0, 2): psp->pmfw_centralized_cstate_management = true; break; @@ -142,6 +143,10 @@ static int psp_early_init(void *handle) psp->autoload_supported = false; } break; + case IP_VERSION(13, 0, 0): + psp_v13_0_set_psp_funcs(psp); + psp->autoload_supported = true; + break; default: return -EINVAL; } |
