drm/sched/tests: Remove relict of done_list
Subsystems (3)
Philipp Stanner
maintainerPATCH 1/1 drm/sched/tests: Remove relict of done_list
A rework of the scheduler unit tests removed the done_list. That list is still mentioned in the mock test header.
Remove that relict.
Fixes 4576de9b7977 ("drm/sched/tests: Implement cancel_job() callback")
Signed-off-by Philipp Stanner <[email protected]>
--- drivers/gpu/drm/scheduler/tests/sched_tests.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/gpu/drm/scheduler/tests/sched_tests.h +1 -2
@@ -31,9 +31,8 @@* * @base: DRM scheduler base class * @test: Backpointer to owning the kunit test case -* @lock: Lock to protect the simulated @hw_timeline, @job_list and @done_list +* @lock: Lock to protect the simulated @hw_timeline and @job_list * @job_list: List of jobs submitted to the mock GPU -* @done_list: List of jobs completed by the mock GPU * @hw_timeline: Simulated hardware timeline has a @context, @next_seqno and * @cur_seqno for implementing a struct dma_fence signaling the * simulated job completion.
Signature · 1 line
2.49.0
Quoted 16 lines · Philipp Stanner
A rework of the scheduler unit tests removed the
done_list. That list is still mentioned in the mock test header.Remove that relict.
Fixes 4576de9b7977 ("drm/sched/tests: Implement cancel_job() callback")Signed-off-by Philipp Stanner <[email protected]>--- drivers/gpu/drm/scheduler/tests/sched_tests.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/scheduler/tests/sched_tests.h +0
-0
drivers/gpu/drm/scheduler/tests/sched_tests.h line 38
Quoted 10 lines
drivers/gpu/drm/scheduler/tests/sched_tests.h +1
-2@@ -31,9 +31,8 @@* * @base: DRM scheduler base class * @test: Backpointer to owning the kunit test case -* @lock: Lock to protect the simulated @hw_timeline, @job_list and @done_list +* @lock: Lock to protect the simulated @hw_timeline and @job_list * @job_list: List of jobs submitted to the mock GPU -* @done_list: List of jobs completed by the mock GPU * @hw_timeline: Simulated hardware timeline has a @context, @next_seqno and * @cur_seqno for implementing a struct dma_fence signaling the * simulated job completion.
Reviewed-by Tvrtko Ursulin <[email protected]>
Regards,
Tvrtko
Philipp Stanner
AppliedQuoted 22 lines · Tvrtko Ursulin
Quoted 20 lines · Philipp Stanner
A rework of the scheduler unit tests removed the
done_list. That list is still mentioned in the mock test header.Remove that relict.
Fixes 4576de9b7977 ("drm/sched/tests: Implement cancel_job() callback")Signed-off-by Philipp Stanner <[email protected]>---
drivers/gpu/drm/scheduler/tests/sched_tests.h| 3 +--1 file changed, 1 insertion(+), 2 deletions(-)drivers/gpu/drm/scheduler/tests/sched_tests.h +0
-1@@ -31,9 +31,8 @@ * * @base: DRM scheduler base class * @test: Backpointer to owning the kunit test case - * @lock: Lock to protect the simulated @hw_timeline, @job_list and @done_list
Quoted 8 lines
drivers/gpu/drm/scheduler/tests/sched_tests.h line 38
Quoted 6 lines
drivers/gpu/drm/scheduler/tests/sched_tests.h +1
-1+ * @lock: Lock to protect the simulated @hw_timeline and @job_list * @job_list: List of jobs submitted to the mock GPU - * @done_list: List of jobs completed by the mock GPU * @hw_timeline: Simulated hardware timeline has a @context, @next_seqno and * @cur_seqno for implementing a struct dma_fence signaling the * simulated job completion.Reviewed-by Tvrtko Ursulin <[email protected]>
Applied to drm-misc-next
Thx
P.
Quoted 5 lines
Regards,
Tvrtko