drm/amdgpu/mes: implement mes self test
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 27 Mar 2020 16:23:34 +0000 (00:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:43:52 +0000 (10:43 -0400)
commit6624d161039734e58fd1f045a5d821d3907f47ab
tree83e562f8a6f85cdcdd16ea1273f9cd3be9cffc58
parentcdb7476d9692c84ba204e0b4172998506b41f270
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 <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h