freedreno/drm: remove idx_lock
authorRob Clark <robdclark@chromium.org>
Mon, 29 Jul 2019 17:27:18 +0000 (10:27 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 2 Aug 2019 17:24:14 +0000 (10:24 -0700)
commit9ac23794c9906366a8786f241ec63e1d4cf0cafd
tree46a185e2c7cdb42bd13a1f195a2d26125f3119d7
parente439f63467419d73e74bcefe07fd6094f34d7ae5
freedreno/drm: remove idx_lock

Since it ends up contended, it is a bit of a bottleneck for workloads
with high driver overhead.  Worth nearly +10% at gfxbench driver2.

Signed-off-by: Rob Clark <robdclark@chromium.org>
src/freedreno/drm/msm_priv.h
src/freedreno/drm/msm_ringbuffer.c
src/freedreno/drm/msm_ringbuffer_sp.c