]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/sched: Remove weak paused submission checks
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Tue, 14 Jan 2025 10:59:42 +0000 (10:59 +0000)
committerPhilipp Stanner <phasta@kernel.org>
Thu, 16 Jan 2025 10:17:21 +0000 (11:17 +0100)
commit440aaf479c9aaf5ecea9a463eb826ec243d5f1cf
tree1dc2b8dc1eca577f109c7c4cea1c7bc4c4dc27be
parent229adcffdb54b13332d2afd2dc5d203418d50908
drm/sched: Remove weak paused submission checks

There is no need to check the boolean in the work item's prologues since
the boolean can be set at any later time anyway.

The helper which pauses submission sets it and synchronously cancels the
work and helpers which queue the work check for the flag so all should be
good.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Danilo Krummrich <dakr@redhat.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Philipp Stanner <pstanner@redhat.com>
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20250114105942.64832-1-tvrtko.ursulin@igalia.com
drivers/gpu/drm/scheduler/sched_main.c