diff options
| author | Le Ma <[email protected]> | 2024-05-16 06:46:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-12-10 15:27:08 +0000 |
| commit | 2d2f1622c82a93239dac53240bc3570e84e13129 (patch) | |
| tree | 7e6e31afe92d41053f9ab1d47753e9aa51709b1b /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
| parent | drm/amd: Show an info message about optional firmware missing (diff) | |
| download | kernel-2d2f1622c82a93239dac53240bc3570e84e13129.tar.gz kernel-2d2f1622c82a93239dac53240bc3570e84e13129.zip | |
drm/amdgpu: add psp 13_0_12 version support
Add support for new psp 13_0_12 version
Signed-off-by: Le Ma <[email protected]>
Reviewed-by: Lijo Lazar <[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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 8ba2d5b8d523..bad669eff444 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c @@ -208,6 +208,7 @@ static int psp_early_init(struct amdgpu_ip_block *ip_block) psp->boot_time_tmr = false; fallthrough; case IP_VERSION(13, 0, 6): + case IP_VERSION(13, 0, 12): case IP_VERSION(13, 0, 14): psp_v13_0_set_psp_funcs(psp); psp->autoload_supported = false; @@ -359,6 +360,7 @@ static bool psp_get_runtime_db_entry(struct amdgpu_device *adev, int i; if (amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 6) || + amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 12) || amdgpu_ip_version(adev, MP0_HWIP, 0) == IP_VERSION(13, 0, 14)) return false; @@ -870,6 +872,7 @@ static bool psp_skip_tmr(struct psp_context *psp) case IP_VERSION(13, 0, 2): case IP_VERSION(13, 0, 6): case IP_VERSION(13, 0, 10): + case IP_VERSION(13, 0, 12): case IP_VERSION(13, 0, 14): return true; default: |
