Skip to content
Commit c30fdd75 authored by Lloyd Atkinson's avatar Lloyd Atkinson
Browse files

drm/msm: hold struct_mutex during gem import



Take the struct mutex during msm_gem_import before calling
msm_gem_new_impl which expects to be called with the struct
mutex held. The mutex is required to protect the device private
inactive_list, and other paths that modify the list hold the
mutex.

Change-Id: If951b689f4899ece5239d1c6c559e20d149a6e2c
Signed-off-by: default avatarLloyd Atkinson <latkinso@codeaurora.org>
parent 84a47e8c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment