summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
diff options
context:
space:
mode:
authorMonk Liu <Monk.Liu@amd.com>2017-04-05 12:17:18 +0800
committerAlex Deucher <alexander.deucher@amd.com>2017-04-06 13:28:05 -0400
commitf98b617ed5cc47157c4ccb8204b41ccec9f1281d (patch)
tree9d3f2dd05c58336f27870d41102ef116cd1e9416 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
parent94b4fd725b7d8625a66034dee683f55c66f77a1f (diff)
downloadop-kernel-dev-f98b617ed5cc47157c4ccb8204b41ccec9f1281d.zip
op-kernel-dev-f98b617ed5cc47157c4ccb8204b41ccec9f1281d.tar.gz
drm/amdgpu:implement the reset MB func for vega10
they are lack in the bringup stage, we need them for GPU reset feature. Signed-off-by: Monk Liu <Monk.Liu@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
index bf8ab8f..a9815b6 100644
--- a/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
+++ b/drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
@@ -44,4 +44,9 @@ enum idh_event {
extern const struct amdgpu_virt_ops xgpu_ai_virt_ops;
+void xgpu_ai_mailbox_set_irq_funcs(struct amdgpu_device *adev);
+int xgpu_ai_mailbox_add_irq_id(struct amdgpu_device *adev);
+int xgpu_ai_mailbox_get_irq(struct amdgpu_device *adev);
+void xgpu_ai_mailbox_put_irq(struct amdgpu_device *adev);
+
#endif
OpenPOWER on IntegriCloud