diff options
author | Huang Rui <ray.huang@amd.com> | 2017-03-21 11:02:04 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-28 22:37:58 +0200 |
commit | f5cfef98f736f9aa42e9ad41e67b5abd96b77835 (patch) | |
tree | 6eaa349182446e2ca76b100c2b8be133c7208339 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
parent | drm/amdgpu: use private memory to store psp firmware data (diff) | |
download | linux-f5cfef98f736f9aa42e9ad41e67b5abd96b77835.tar.xz linux-f5cfef98f736f9aa42e9ad41e67b5abd96b77835.zip |
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 uint64_t tmr_mc_addr; void *tmr_buf; - /* asd firmware */ + /* asd firmware and buffer */ const struct firmware *asd_fw; uint32_t asd_fw_version; uint32_t asd_feature_version; uint32_t asd_ucode_size; uint8_t *asd_start_addr; + struct amdgpu_bo *asd_shared_bo; + uint64_t asd_shared_mc_addr; + void *asd_shared_buf; /* fence buffer */ struct amdgpu_bo *fence_buf_bo; |