Commit 9dffbbd7 authored by Rob Clark's avatar Rob Clark Committed by Greg Kroah-Hartman
Browse files

drm/msm: Add priv->mm_lock to protect active/inactive lists



[ Upstream commit d984457b ]

Rather than relying on the big dev->struct_mutex hammer, introduce a
more specific lock for protecting the bo lists.

Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Reviewed-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
Reviewed-by: default avatarKristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: default avatarRob Clark <robdclark@chromium.org>
Stable-dep-of: a30f9f65 ("drm/msm/a5xx: workaround early ring-buffer emptiness check")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5ce4075d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment