diff options
author | 2017-03-21 18:36:57 +0800 | |
---|---|---|
committer | 2017-04-28 16:37:58 -0400 | |
commit | be70bbda3fb9a1b876ed80e2ebc292203eb0ffec (patch) | |
tree | 83febc7694ed4883345b6de9efad1e7dc1fac6f4 /drivers/gpu/drm/amd/amdgpu/psp_v3_1.h | |
parent | drm/amdgpu: split psp asd function (diff) | |
download | linux-dev-be70bbda3fb9a1b876ed80e2ebc292203eb0ffec.tar.xz linux-dev-be70bbda3fb9a1b876ed80e2ebc292203eb0ffec.zip |
drm/amdgpu: split psp ring init 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/psp_v3_1.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/psp_v3_1.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.h b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.h index e82eff741a08..5230d27867c9 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v3_1.h +++ b/drivers/gpu/drm/amd/amdgpu/psp_v3_1.h @@ -39,6 +39,8 @@ extern int psp_v3_1_prep_cmd_buf(struct amdgpu_firmware_info *ucode, struct psp_gfx_cmd_resp *cmd); extern int psp_v3_1_ring_init(struct psp_context *psp, enum psp_ring_type ring_type); +extern int psp_v3_1_ring_create(struct psp_context *psp, + enum psp_ring_type ring_type); extern int psp_v3_1_cmd_submit(struct psp_context *psp, struct amdgpu_firmware_info *ucode, uint64_t cmd_buf_mc_addr, uint64_t fence_mc_addr, |