radeonsi: add basic memory object support
authorDave Airlie <airlied@redhat.com>
Tue, 18 Jul 2017 03:06:18 +0000 (23:06 -0400)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 6 Aug 2017 02:42:06 +0000 (12:42 +1000)
commit2bdb0da0300f51af9f093e3f6c53a0813bc8b865
tree7c92c86ea38b90bcad34373474a22e6394a1e7b6
parentddf2c830a6786c31116df92238cdc9393458b471
radeonsi: add basic memory object support

v2: also consider gfx9 metadata
v3: ref/unref memobj->buf
v4: add refcount comment

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeon/r600_pipe_common.h
src/gallium/drivers/radeon/r600_texture.c