freedreno: fix resource flushing confusion
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 3 Apr 2015 02:28:21 +0000 (22:28 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 5 Apr 2015 20:36:34 +0000 (16:36 -0400)
commitea0952a9db1b5887f915d8f750f5fa9c45719976
tree1f58dadc4645a6772cff3e9115e8237658082b8c
parentbfb0a8eb6967065be92e40ba620fc6fededde51a
freedreno: fix resource flushing confusion

A resource flush is an upload of a hypothetically-staging texture to the
GPU. For a UMA system, this will largely be a no-op or
cache-maintenance. Move the render flush logic into transfer_map where
it belongs, and clear out the transfer_flush function.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/gallium/drivers/freedreno/freedreno_resource.c