OSDN Git Service

freedreno/msm: remove reset of linked rings
authorRob Clark <robclark@freedesktop.org>
Thu, 11 Oct 2018 17:51:14 +0000 (13:51 -0400)
committerRob Clark <robclark@freedesktop.org>
Sat, 13 Oct 2018 21:22:49 +0000 (17:22 -0400)
commit96b625240cb621531b49b8cb05249dafba4e0817
treebdcb2c0b7e3c325c107538a64ff8dbd2064fa5cf
parent09cbccff558988c57e52685ffb359441db8c2bd7
freedreno/msm: remove reset of linked rings

The msm_cmd isn't refcount'd, so with stateobj rb's that have
independent lifecycle, this is no longer a safe thing to do.
Really, now that there is a bo-cache for rb's, fd_ringbuffer_reset()
should be deprecated because it adds a bunch of pointless complexity.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
freedreno/freedreno_ringbuffer.h
freedreno/msm/msm_ringbuffer.c