aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/psp_v10_0.h
diff options
context:
space:
mode:
authorEvan Quan <[email protected]>2017-09-08 05:04:52 +0000
committerAlex Deucher <[email protected]>2017-09-12 18:30:11 +0000
commit4ef72453311a697b3fb90da9c86c83012911ccf9 (patch)
tree155c5d6d86530f48434ba9f2bb10ab89d84c7638 /drivers/gpu/drm/amd/amdgpu/psp_v10_0.h
parentdrm/amdgpu: fixed raven psp cmd prepare and submit (diff)
downloadkernel-4ef72453311a697b3fb90da9c86c83012911ccf9.tar.gz
kernel-4ef72453311a697b3fb90da9c86c83012911ccf9.zip
drm/amdgpu: added api for stopping psp ring (v2)
- v2: reuse the ring stop api in ring destory Signed-off-by: Evan Quan <[email protected]> Reviewed-by: Junwei Zhang <[email protected]> Acked-by: Christian König <[email protected]> Reviewed-by: Huang Rui <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v10_0.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/psp_v10_0.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.h b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.h
index e76cde2f01f9..3af3ad1320ff 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v10_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v10_0.h
@@ -34,6 +34,8 @@ extern int psp_v10_0_ring_init(struct psp_context *psp,
enum psp_ring_type ring_type);
extern int psp_v10_0_ring_create(struct psp_context *psp,
enum psp_ring_type ring_type);
+extern int psp_v10_0_ring_stop(struct psp_context *psp,
+ enum psp_ring_type ring_type);
extern int psp_v10_0_ring_destroy(struct psp_context *psp,
enum psp_ring_type ring_type);
extern int psp_v10_0_cmd_submit(struct psp_context *psp,