diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2019-06-20 10:17:31 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-06-21 18:58:21 -0500 |
commit | 6698a3d05fda57f37add68c55a0696bfa7100413 (patch) | |
tree | 291c9012b429224f46c466c8a111246740f89a96 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | |
parent | 43974dacb6c35ea6a2bf89c1d5e2e04195464f81 (diff) | |
download | linux-6698a3d05fda57f37add68c55a0696bfa7100413.tar.gz linux-6698a3d05fda57f37add68c55a0696bfa7100413.tar.bz2 linux-6698a3d05fda57f37add68c55a0696bfa7100413.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h index 8260d8073c26..f289d28ad6b2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h @@ -34,6 +34,7 @@ struct amdgpu_debugfs { int amdgpu_debugfs_regs_init(struct amdgpu_device *adev); void amdgpu_debugfs_regs_cleanup(struct amdgpu_device *adev); int amdgpu_debugfs_init(struct amdgpu_device *adev); +void amdgpu_debugfs_preempt_cleanup(struct amdgpu_device *adev); int amdgpu_debugfs_add_files(struct amdgpu_device *adev, const struct drm_info_list *files, unsigned nfiles); |