]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Park scheduler threads for system suspend
authorRob Clark <robdclark@chromium.org>
Thu, 10 Mar 2022 23:46:05 +0000 (15:46 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 24 Mar 2022 15:32:25 +0000 (08:32 -0700)
commitf8aa0449cca2913e41d0273119a9de22d1022de0
tree74cc88a90fb30c5c300f3991d015307d014dae09
parentb37886743b5a450240d03accc4020b633a791b40
drm/msm/gpu: Park scheduler threads for system suspend

In the system suspend path, we don't want to be racing with the
scheduler kthreads pushing additional queued up jobs to the hw
queue (ringbuffer).  So park them first.  While we are at it,
move the wait for active jobs to complete into the new system-
suspend path.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Link: https://lore.kernel.org/r/20220310234611.424743-3-robdclark@gmail.com
drivers/gpu/drm/msm/adreno/adreno_device.c