summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>2026-10-21 10:42:26 +0100
committerPhilipp Stanner <phasta@kernel.org>2026-11-05 14:34:32 +0100
commitcda6f72545f2372234c72f93fd1be61841295e19 (patch)
treeef1955dfee17d982c1e25aee9d6f971709a0c074 /scripts/Makefile.thinlto
parentc1a757f8df1363032623fa9b1baaba0dcf34de6d (diff)
downloadlinux-next-cda6f72545f2372234c72f93fd1be61841295e19.tar.gz
linux-next-cda6f72545f2372234c72f93fd1be61841295e19.zip
drm/sched: Fix out of bounds entity priority check
When the out of range priority at entity init time is clamped to the number of run queues in the supplied scheduler the internal run-queue priority needs to be adjusted as well. There is no impact since none of the drivers hit the clamping path, but we still need to address it by moving the entity->rq_priority assignment to after the clamping is done. Note that a lot of this will hopefully get removed once again when the single run-queue simplification lands. Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com> Fixes: 2fa4d8e2c109 ("drm/sched: Add fair scheduling policy") Cc: Christian König <christian.koenig@amd.com> Cc: Danilo Krummrich <dakr@kernel.org> Cc: Matthew Brost <matthew.brost@intel.com> Cc: Philipp Stanner <phasta@kernel.org> Cc: stable@vger.kernel.org # v7.2+ Signed-off-by: Philipp Stanner <phasta@kernel.org> Link: https://patch.msgid.link/20261021094227.48034-2-tvrtko.ursulin@igalia.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions