|
@@ -55,6 +55,7 @@ struct amdgpu_virt_ops {
|
|
int (*req_full_gpu)(struct amdgpu_device *adev, bool init);
|
|
int (*req_full_gpu)(struct amdgpu_device *adev, bool init);
|
|
int (*rel_full_gpu)(struct amdgpu_device *adev, bool init);
|
|
int (*rel_full_gpu)(struct amdgpu_device *adev, bool init);
|
|
int (*reset_gpu)(struct amdgpu_device *adev);
|
|
int (*reset_gpu)(struct amdgpu_device *adev);
|
|
|
|
+ int (*wait_reset)(struct amdgpu_device *adev);
|
|
void (*trans_msg)(struct amdgpu_device *adev, u32 req, u32 data1, u32 data2, u32 data3);
|
|
void (*trans_msg)(struct amdgpu_device *adev, u32 req, u32 data1, u32 data2, u32 data3);
|
|
};
|
|
};
|
|
|
|
|
|
@@ -286,6 +287,7 @@ void amdgpu_virt_kiq_wreg(struct amdgpu_device *adev, uint32_t reg, uint32_t v);
|
|
int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init);
|
|
int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init);
|
|
int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init);
|
|
int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init);
|
|
int amdgpu_virt_reset_gpu(struct amdgpu_device *adev);
|
|
int amdgpu_virt_reset_gpu(struct amdgpu_device *adev);
|
|
|
|
+int amdgpu_virt_wait_reset(struct amdgpu_device *adev);
|
|
int amdgpu_sriov_gpu_reset(struct amdgpu_device *adev, struct amdgpu_job *job);
|
|
int amdgpu_sriov_gpu_reset(struct amdgpu_device *adev, struct amdgpu_job *job);
|
|
int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev);
|
|
int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev);
|
|
void amdgpu_virt_free_mm_table(struct amdgpu_device *adev);
|
|
void amdgpu_virt_free_mm_table(struct amdgpu_device *adev);
|