drm/msm: grab struct_mutex after allocating submit
authorRob Clark <robdclark@gmail.com>
Wed, 3 Feb 2016 18:24:35 +0000 (13:24 -0500)
committerRob Clark <robdclark@gmail.com>
Thu, 3 Mar 2016 16:55:30 +0000 (11:55 -0500)
commit687f084a3bd01d932bb870a21fe92496055697d6
tree0421a1dadb4c653497c70aa9a82357b94ead6e9e
parentc01a958eca6e7f23bc49058feb66942ebcacb277
drm/msm: grab struct_mutex after allocating submit

No real need to hold the lock over allocation, and simplifies things
slightly if we change the order.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gem_submit.c