drm/amdgpu: fix preemption unit test
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 10 Jul 2020 04:34:52 +0000 (12:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jul 2020 19:09:07 +0000 (15:09 -0400)
commitd845a2051b6b673fab4229b920ea04c7c4352b51
treed062b81cf986144e019c8e95ce506ceb0f55a45d
parent7d65a577bb58d4f27a3398a4c0cb0b00ab7d0511
drm/amdgpu: fix preemption unit test

Remove signaled jobs from job list and ensure the
job was indeed preempted.

Signed-off-by: Jack Xiao <Jack.Xiao@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_debugfs.c