diff options
author | Monk Liu <Monk.Liu@amd.com> | 2017-04-05 12:17:18 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-06 13:28:05 -0400 |
commit | f98b617ed5cc47157c4ccb8204b41ccec9f1281d (patch) | |
tree | 9d3f2dd05c58336f27870d41102ef116cd1e9416 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h | |
parent | 94b4fd725b7d8625a66034dee683f55c66f77a1f (diff) | |
download | linux-f98b617ed5cc47157c4ccb8204b41ccec9f1281d.tar.bz2 |
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.h | 5 |
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 bf8ab8fd4367..a9815b68f5de 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 |