Commit f4ca529d authored by Rob Clark's avatar Rob Clark
Browse files

drm/msm: Fix pagetables setup/teardown serialization



An atomic counter is not sufficient, as one task could still be in the
process of tearing things down while another task increments the counter
back up to one and begins setup again.  The race condition existed since
commit b145c6e6 ("drm/msm: Add support to create a local pagetable")
but got bigger in commit dbbde63c ("drm/msm: Add PRR support").

Fixes: dbbde63c ("drm/msm: Add PRR support")
Fixes: b145c6e6 ("drm/msm: Add support to create a local pagetable")
Signed-off-by: default avatarRob Clark <robin.clark@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/664433/
parent 7abb543f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment