]> 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)
commit69ee83cbb0fbd21c60c7a6261f50a552d9662f89
tree74cc88a90fb30c5c300f3991d015307d014dae09
parent139560c74010e105cbd21a2a22665d9d5edd2585
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