drm/msm: Drop struct_mutex in free_object() path
authorRob Clark <robdclark@chromium.org>
Fri, 23 Oct 2020 16:51:20 +0000 (09:51 -0700)
committerRob Clark <robdclark@chromium.org>
Thu, 5 Nov 2020 00:00:56 +0000 (16:00 -0800)
commit25c49c838bdeb7785570dd84d5b078ad9e2ba085
treeb1ed3b78b48a69c93ec0c5982b9c73403545532e
parentc5c1643cef7a11c1f3a5544528087618ba9a5aab
drm/msm: Drop struct_mutex in free_object() path

Now that active_list/inactive_list is protected by mm_lock, we no longer
need dev->struct_mutex in the free_object() path.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gem.c