freedreno/a6xx: cleanup "blit_mem"
authorRob Clark <robdclark@chromium.org>
Thu, 25 Jul 2019 23:34:25 +0000 (16:34 -0700)
committerRob Clark <robdclark@chromium.org>
Fri, 2 Aug 2019 17:24:14 +0000 (10:24 -0700)
commit146d6e64636bb0bfb358558ae5175485f648e086
tree623b7475dbc5fc250db14debf6757e71cea52e2a
parent1cbb7f7601a666be4ab4e243bd2263f9e86a4780
freedreno/a6xx: cleanup "blit_mem"

Rename to "control_mem", and switch to using a struct to manage the
layout, rather than just ad-hoc hard-coded offsets.

For recovering from VSC stream overflow, we'll need to add more, but
best to clean it up first.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/freedreno/a6xx/fd6_context.c
src/gallium/drivers/freedreno/a6xx/fd6_context.h
src/gallium/drivers/freedreno/a6xx/fd6_emit.c
src/gallium/drivers/freedreno/a6xx/fd6_emit.h