summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
diff options
context:
space:
mode:
authorEvan Quan <evan.quan@amd.com>2017-09-08 13:04:52 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-09-12 14:30:11 -0400
commit4ef72453311a697b3fb90da9c86c83012911ccf9 (patch)
tree155c5d6d86530f48434ba9f2bb10ab89d84c7638 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
parentf1ac0fc2f2355495628a45e90cbd88e3d2c40ef9 (diff)
downloadtalos-obmc-linux-4ef72453311a697b3fb90da9c86c83012911ccf9.tar.gz
talos-obmc-linux-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 <evan.quan@amd.com> Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Huang Rui <ray.huang@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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
index 538fa9dbfb21..e79795b59797 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
@@ -66,6 +66,8 @@ struct psp_context
struct psp_gfx_cmd_resp *cmd);
int (*ring_init)(struct psp_context *psp, enum psp_ring_type ring_type);
int (*ring_create)(struct psp_context *psp, enum psp_ring_type ring_type);
+ int (*ring_stop)(struct psp_context *psp,
+ enum psp_ring_type ring_type);
int (*ring_destroy)(struct psp_context *psp,
enum psp_ring_type ring_type);
int (*cmd_submit)(struct psp_context *psp, struct amdgpu_firmware_info *ucode,
OpenPOWER on IntegriCloud