drm/msm: use proper memory barriers for updating tail/head
authorRob Clark <robdclark@gmail.com>
Mon, 2 Oct 2017 14:28:37 +0000 (10:28 -0400)
committerRob Clark <robdclark@gmail.com>
Thu, 12 Oct 2017 14:59:11 +0000 (10:59 -0400)
commitf44001e2637138d9d506efe8da67011f8170e860
tree68139686d74b1472a379a16810726f3f6f728220
parentaa3c2ba1c3a7c25d0440a8ac3ddd266c0f43b7b7
drm/msm: use proper memory barriers for updating tail/head

Fixes intermittent corruption of cmdstream dump.

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