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>
Fri, 10 Jul 2020 21:42:56 +0000 (17:42 -0400)
commit7bdb089993f9e65ec826c770aa1d05469bdf8eac
tree0eeab6a0263cbf55c447ebe44ec6566516c15ffa
parent926ee775ba53482d2895d31caf212d234158224c
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