linux/drivers/gpu/drm/scheduler
Luben Tuikov 2bbe6ab2be drm/sched: Fix bounds limiting when given a malformed entity
If we're given a malformed entity in drm_sched_entity_init()--shouldn't
happen, but we verify--with out-of-bounds priority value, we set it to an
allowed value. Fix the expression which sets this limit.

Signed-off-by: Luben Tuikov <ltuikov89@gmail.com>
Fixes: 56e449603f ("drm/sched: Convert the GPU scheduler to variable number of run-queues")
Link: https://patchwork.freedesktop.org/patch/msgid/20231123122422.167832-2-ltuikov89@gmail.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://lore.kernel.org/r/dbb91dbe-ef77-4d79-aaf9-2adb171c1d7a@amd.com
2023-11-24 22:56:57 -05:00
..
gpu_scheduler_trace.h drm/sched: implement dynamic job-flow control 2023-11-10 02:54:29 +01:00
Makefile
sched_entity.c drm/sched: Fix bounds limiting when given a malformed entity 2023-11-24 22:56:57 -05:00
sched_fence.c Linux 6.5-rc1 2023-07-11 09:23:20 +02:00
sched_main.c drm/sched: implement dynamic job-flow control 2023-11-10 02:54:29 +01:00