summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorChengming Gui <Jack.Gui@amd.com>2022-04-15 10:37:37 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-05-05 16:52:05 -0400
commit438a937d9a700b4ca0d199163f14a8c43b2c783c (patch)
tree347f46c39191adcac8efb71f8cd546fb0adeb4ae /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parenteee5ed424183e9dbbfc8a0269ad0e925dfb3f37f (diff)
downloadlinux-438a937d9a700b4ca0d199163f14a8c43b2c783c.tar.bz2
drm/amdgpu/psp13: add support for MP0 13.0.7
Enable support in psp code. Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Chengming Gui <Jack.Gui@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 7f9ab12ae1ab..25c90ad2c0b7 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -84,6 +84,7 @@ static void psp_check_pmfw_centralized_cstate_management(struct psp_context *psp
case IP_VERSION(11, 0, 13):
case IP_VERSION(13, 0, 0):
case IP_VERSION(13, 0, 2):
+ case IP_VERSION(13, 0, 7):
psp->pmfw_centralized_cstate_management = true;
break;
default:
@@ -144,6 +145,7 @@ static int psp_early_init(void *handle)
}
break;
case IP_VERSION(13, 0, 0):
+ case IP_VERSION(13, 0, 7):
psp_v13_0_set_psp_funcs(psp);
psp->autoload_supported = true;
break;