Matthew Brost c4fd7d8cc3 drm/i915: Reset sched_engine.no_priolist immediately after dequeue
Rather than touching schedule state in the generic PM code, reset the
priolist allocation when empty in the submission code. Add a wrapper
function to do this and update the backends to call it in the correct
place.

v3:
 (Jason Ekstrand)
  Update patch commit message with a better description

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210618010638.98941-4-matthew.brost@intel.com
2021-06-18 15:13:20 -07:00
..
2021-05-06 11:43:46 +02:00
2021-04-27 13:13:19 +02:00
2021-05-12 11:31:28 +02:00
2021-04-28 10:01:40 -07:00
2021-04-13 23:15:09 +02:00
2021-04-13 23:15:09 +02:00
2021-03-16 17:08:46 +10:00
2021-06-07 13:33:46 +02:00
2021-04-29 18:53:05 -03:00
2021-04-13 23:15:09 +02:00
2021-01-04 12:59:33 +01:00
2020-09-21 10:45:08 +02:00
2021-01-07 13:40:20 +01:00
2021-05-17 21:19:48 +02:00
2021-03-18 14:22:50 +01:00