drm/msm: Ensure get_pages is called when locked
authorIskren Chernev <iskren.chernev@gmail.com>
Mon, 28 Dec 2020 21:31:31 +0000 (23:31 +0200)
committerRob Clark <robdclark@chromium.org>
Tue, 29 Dec 2020 17:12:46 +0000 (09:12 -0800)
commit07fcad0d726d5da7c43f1c8e8fdb66c93a140ca5
treeeaa515b74333c90176027cb8dd936844ccc6a76f
parenta694ffed876575d1df1a47067444047182de4354
drm/msm: Ensure get_pages is called when locked

get_pages is only called in a locked context. Add a WARN_ON to make sure
it stays that way.

Signed-off-by: Iskren Chernev <iskren.chernev@gmail.com>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/msm_gem.c