Skip to content
Commit f3123c25 authored by Luben Tuikov's avatar Luben Tuikov
Browse files

drm/sched: Qualify drm_sched_wakeup() by drm_sched_entity_is_ready()



Don't "wake up" the GPU scheduler unless the entity is ready, as well as we
can queue to the scheduler, i.e. there is no point in waking up the scheduler
for the entity unless the entity is ready.

Signed-off-by: default avatarLuben Tuikov <ltuikov89@gmail.com>
Fixes: bc8d6a9d

 ("drm/sched: Don't disturb the entity when in RR-mode scheduling")
Reviewed-by: default avatarDanilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231110000123.72565-2-ltuikov89@gmail.com
parent f415a607
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment