diff options
author | Huang Rui <ray.huang@amd.com> | 2016-12-15 21:01:55 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-05-24 17:41:19 -0400 |
commit | dfbd64386111c7356de55a8870e49e154ba51903 (patch) | |
tree | 0e1d493ea7a80cc41a759e13fdfc65fde72d15eb /drivers/gpu/drm/amd/amdgpu | |
parent | fd341dc590d743eed360146a8b0d3c4db331b264 (diff) |
drm/amdgpu: add psp v10 ip block
Add the ip block version structure for psp 10.0.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 9 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c index 5041073cc9dc..dfdf4fda2390 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |||
@@ -549,3 +549,12 @@ const struct amdgpu_ip_block_version psp_v3_1_ip_block = | |||
549 | .rev = 0, | 549 | .rev = 0, |
550 | .funcs = &psp_ip_funcs, | 550 | .funcs = &psp_ip_funcs, |
551 | }; | 551 | }; |
552 | |||
553 | const struct amdgpu_ip_block_version psp_v10_0_ip_block = | ||
554 | { | ||
555 | .type = AMD_IP_BLOCK_TYPE_PSP, | ||
556 | .major = 10, | ||
557 | .minor = 0, | ||
558 | .rev = 0, | ||
559 | .funcs = &psp_ip_funcs, | ||
560 | }; | ||
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index 0301e4e0b297..1a1c8b469f93 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |||
@@ -138,4 +138,6 @@ extern const struct amdgpu_ip_block_version psp_v3_1_ip_block; | |||
138 | extern int psp_wait_for(struct psp_context *psp, uint32_t reg_index, | 138 | extern int psp_wait_for(struct psp_context *psp, uint32_t reg_index, |
139 | uint32_t field_val, uint32_t mask, bool check_changed); | 139 | uint32_t field_val, uint32_t mask, bool check_changed); |
140 | 140 | ||
141 | extern const struct amdgpu_ip_block_version psp_v10_0_ip_block; | ||
142 | |||
141 | #endif | 143 | #endif |