freedreno: add simpler ring-reloc
authorRob Clark <robclark@freedesktop.org>
Fri, 20 May 2016 21:19:04 +0000 (17:19 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 20 Jul 2016 23:42:21 +0000 (19:42 -0400)
commit2ca73c666aca726d9f6b6ddc2b5ee1d28513320f
treeb8e62aacdec8b6c272e9b347bdcdd972e44d2610
parent73db0a0421006d7b4af837c7a77dacbb005b800f
freedreno: add simpler ring-reloc

Provide a way to insert a reference (ie. OUT_IB()) to a target ring,
executing all the cmds in the target ring from the start.

Sometimes the ringmarker stuff is just overkill.  And it will won't
really work properly once we support multiple physical cmdstream buffers
per fd_ringbuffer.  So in the future the old ringmarker related APIs
will be deprecated in a few releases.

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