diff options
author | Dmitry Osipenko <[email protected]> | 2022-04-12 01:15:36 +0300 |
---|---|---|
committer | Andrey Grodzovsky <[email protected]> | 2022-07-15 10:09:15 -0400 |
commit | 9b04369b060fd4885f728b7a4ab4851ffb1abb64 (patch) | |
tree | f45ce0b2dd07c2da0efa6f018b747f1d384717cf /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 925b6e59138cefa47275c67891c65d48d3266d57 (diff) |
drm/scheduler: Don't kill jobs in interrupt context
Interrupt context can't sleep. Drivers like Panfrost and MSM are taking
mutex when job is released, and thus, that code can sleep. This results
into "BUG: scheduling while atomic" if locks are contented while job is
freed. There is no good reason for releasing scheduler's jobs in IRQ
context, hence use normal context to fix the trouble.
Cc: [email protected]
Fixes: 542cff7893a3 ("drm/sched: Avoid lockdep spalt on killing a processes")
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Andrey Grodzovsky <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions