drm/msm: Use dma_resv locking wrappers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 25 Nov 2019 09:43:55 +0000 (10:43 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 17 Dec 2019 16:26:08 +0000 (17:26 +0100)
commit80f30930b6e9bfcb264e8b2e82b05abf3e1a8727
tree1e56547df776dcd2595a03600c964583106147ac
parent263e38f82cbb35bf59727a2375099482dc3331da
drm/msm: Use dma_resv locking wrappers

I'll add more fancy logic to them soon, so everyone really has to use
them. Plus they already provide some nice additional debug
infrastructure on top of direct ww_mutex usage for the fences tracked
by dma_resv.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Sean Paul <sean@poorly.run>
Cc: linux-arm-msm@vger.kernel.org
Cc: freedreno@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20191125094356.161941-4-daniel.vetter@ffwll.ch
drivers/gpu/drm/msm/msm_gem_submit.c