diff options
| author | Monk Liu <[email protected]> | 2017-04-05 04:17:18 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-04-06 17:28:05 +0000 |
| commit | f98b617ed5cc47157c4ccb8204b41ccec9f1281d (patch) | |
| tree | 9d3f2dd05c58336f27870d41102ef116cd1e9416 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h | |
| parent | drm/amdgpu:fix typo for mxgpu_ai (diff) | |
| download | kernel-f98b617ed5cc47157c4ccb8204b41ccec9f1281d.tar.gz kernel-f98b617ed5cc47157c4ccb8204b41ccec9f1281d.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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 |
