r600g: set read/write usage flags for each relocation
authorMarek Olšák <maraeo@gmail.com>
Sun, 7 Aug 2011 19:14:38 +0000 (21:14 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 16 Aug 2011 07:15:11 +0000 (09:15 +0200)
commit47dcfb8dab517e2c92af2f4813b0f5ad200b8b07
treeaef9010327085c27faa9c34bdd93dbe2b1ca37dd
parentebfcc58b93cc08c534857c2314694e35b29690ae
r600g: set read/write usage flags for each relocation

This takes advantage of the new GEM_WAIT ioctl when mapping buffers.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h