freedreno: keep track of buffer valid ranges
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 3 Apr 2015 06:15:17 +0000 (02:15 -0400)
committerRob Clark <robclark@freedesktop.org>
Sun, 5 Apr 2015 20:36:35 +0000 (16:36 -0400)
commitbde2045fa247b4d1de98a3bc7585d1b60f9b58b7
treec8f238125517f281751fd6b0dfbb95074099778a
parentdacf22e0a34d4dc2595f3cb0dbee52318dc9d0d7
freedreno: keep track of buffer valid ranges

Copies nouveau_buffer and radeon_buffer. This allows a write to proceed
to an uninitialized part of a buffer even when the GPU is using the
previously-initialized portions.

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