diff options
| author | Luben Tuikov <ltuikov89@gmail.com> | 2023-11-09 18:53:26 -0500 |
|---|---|---|
| committer | Luben Tuikov <ltuikov89@gmail.com> | 2023-11-09 19:05:35 -0500 |
| commit | f3123c2590005c5ff631653d31428e40cd10c618 (patch) | |
| tree | 40ecb90a04f74a757855fa33fe0259b9675c6afa /drivers/gpu/drm/lima/lima_sched.c | |
| parent | drm/eld: add helpers to modify the SADs of an ELD (diff) | |
| download | linux-f3123c2590005c5ff631653d31428e40cd10c618.tar.gz linux-f3123c2590005c5ff631653d31428e40cd10c618.zip | |
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: Luben Tuikov <ltuikov89@gmail.com>
Fixes: bc8d6a9df99038 ("drm/sched: Don't disturb the entity when in RR-mode scheduling")
Reviewed-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231110000123.72565-2-ltuikov89@gmail.com
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
