OSDN Git Service

drm/amdgpu: add mcbp unit test in debugfs (v3)
authorJack Xiao <Jack.Xiao@amd.com>
Thu, 20 Jun 2019 15:17:31 +0000 (10:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
commit6698a3d05fda57f37add68c55a0696bfa7100413
tree291c9012b429224f46c466c8a111246740f89a96
parent43974dacb6c35ea6a2bf89c1d5e2e04195464f81
drm/amdgpu: add mcbp unit test in debugfs (v3)

The MCBP unit test is used to test the functionality of MCBP.
It emualtes to send preemption request and resubmit the unfinished
jobs.

v2: squash in fixes (Alex)
v3: squash in memory leak fix (Jack)

Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c