diff options
| author | Jack Xiao <[email protected]> | 2020-03-27 16:23:34 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-05-04 14:43:52 +0000 |
| commit | 6624d161039734e58fd1f045a5d821d3907f47ab (patch) | |
| tree | 83e562f8a6f85cdcdd16ea1273f9cd3be9cffc58 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amdgpu/mes: add ring/ib test for mes self test (diff) | |
| download | kernel-6624d161039734e58fd1f045a5d821d3907f47ab.tar.gz kernel-6624d161039734e58fd1f045a5d821d3907f47ab.zip | |
drm/amdgpu/mes: implement mes self test
Add mes self test to verify its fundamental functionality by
running ring test and ib test of mes kernel queue.
Signed-off-by: Jack Xiao <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h index 828d52cdc297..ad593e32255e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h @@ -266,4 +266,6 @@ int amdgpu_mes_ctx_alloc_meta_data(struct amdgpu_device *adev, struct amdgpu_mes_ctx_data *ctx_data); void amdgpu_mes_ctx_free_meta_data(struct amdgpu_mes_ctx_data *ctx_data); +int amdgpu_mes_self_test(struct amdgpu_device *adev); + #endif /* __AMDGPU_MES_H__ */ |
