diff options
| author | Luben Tuikov <[email protected]> | 2023-11-23 04:58:53 +0000 |
|---|---|---|
| committer | Luben Tuikov <[email protected]> | 2023-11-25 03:56:57 +0000 |
| commit | 2bbe6ab2be53858507f11f99f856846d04765ae3 (patch) | |
| tree | 98b95a838cbe427e87eb102decf9d0165e719b37 /drivers/gpu/drm/amd | |
| parent | drm/nouveau: enable dynamic job-flow control (diff) | |
| download | kernel-2bbe6ab2be53858507f11f99f856846d04765ae3.tar.gz kernel-2bbe6ab2be53858507f11f99f856846d04765ae3.zip | |
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/amd')
0 files changed, 0 insertions, 0 deletions
