]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/gpu: Remove mutex from wait_event condition
authorRob Clark <robdclark@chromium.org>
Thu, 10 Mar 2022 23:46:06 +0000 (15:46 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 24 Mar 2022 15:32:25 +0000 (08:32 -0700)
commitb92de642e2408ce9b750acbca2b8eb2a96f05540
tree0620d8774de9e5640d1b9bc7e6d7137a71ba1769
parentf8aa0449cca2913e41d0273119a9de22d1022de0
drm/msm/gpu: Remove mutex from wait_event condition

The mutex wasn't really protecting anything before.  Before the previous
patch we could still be racing with the scheduler's kthread, as that is
not necessarily frozen yet.  Now that we've parked the sched threads,
the only race is with jobs retiring, and that is harmless, ie.

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