diff options
author | Matthew Brost <[email protected]> | 2021-06-17 18:06:33 -0700 |
---|---|---|
committer | Matt Roper <[email protected]> | 2021-06-18 15:13:20 -0700 |
commit | c4fd7d8cc3caa614ab492e0efc8854328f72b719 (patch) | |
tree | 6d86ebc7d662bd0ad2c4bab3ecd36b20ee5234ca /drivers/gpu/drm/i915/gt/intel_engine_user.c | |
parent | 074bb195bce1c86b66e5cd809d6663039d3abf42 (diff) |
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 <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Signed-off-by: Matt Roper <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_engine_user.c')
0 files changed, 0 insertions, 0 deletions