aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/scheduler/sched_main.c
diff options
context:
space:
mode:
authorLuben Tuikov <[email protected]>2023-11-22 23:58:53 -0500
committerLuben Tuikov <[email protected]>2023-11-24 22:56:57 -0500
commit2bbe6ab2be53858507f11f99f856846d04765ae3 (patch)
tree98b95a838cbe427e87eb102decf9d0165e719b37 /drivers/gpu/drm/scheduler/sched_main.c
parent46990918f35c1bf6e367cf8e0423e7344fec9fcb (diff)
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 <[email protected]> Fixes: 56e449603f0ac5 ("drm/sched: Convert the GPU scheduler to variable number of run-queues") Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Christian König <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/scheduler/sched_main.c')
0 files changed, 0 insertions, 0 deletions