diff options
author | Huang Rui <ray.huang@amd.com> | 2017-03-21 06:02:04 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-28 16:37:58 -0400 |
commit | f5cfef98f736f9aa42e9ad41e67b5abd96b77835 (patch) | |
tree | 6eaa349182446e2ca76b100c2b8be133c7208339 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
parent | 2b0c3aee2172451e9f982b25f3fdf59a1b687dc3 (diff) |
drm/amdgpu: split psp asd function
Rework in order to properly support suspend.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index 125a5dc0c0e1..1f1f057c7c42 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |||
@@ -90,12 +90,15 @@ struct psp_context | |||
90 | uint64_t tmr_mc_addr; | 90 | uint64_t tmr_mc_addr; |
91 | void *tmr_buf; | 91 | void *tmr_buf; |
92 | 92 | ||
93 | /* asd firmware */ | 93 | /* asd firmware and buffer */ |
94 | const struct firmware *asd_fw; | 94 | const struct firmware *asd_fw; |
95 | uint32_t asd_fw_version; | 95 | uint32_t asd_fw_version; |
96 | uint32_t asd_feature_version; | 96 | uint32_t asd_feature_version; |
97 | uint32_t asd_ucode_size; | 97 | uint32_t asd_ucode_size; |
98 | uint8_t *asd_start_addr; | 98 | uint8_t *asd_start_addr; |
99 | struct amdgpu_bo *asd_shared_bo; | ||
100 | uint64_t asd_shared_mc_addr; | ||
101 | void *asd_shared_buf; | ||
99 | 102 | ||
100 | /* fence buffer */ | 103 | /* fence buffer */ |
101 | struct amdgpu_bo *fence_buf_bo; | 104 | struct amdgpu_bo *fence_buf_bo; |