radeon+libdrm-radeon: change relocation informations
authorJerome Glisse <glisse@freedesktop.org>
Wed, 12 Nov 2008 14:56:40 +0000 (15:56 +0100)
committerJerome Glisse <glisse@freedesktop.org>
Wed, 12 Nov 2008 15:57:09 +0000 (16:57 +0100)
commita7457915f5775137436f3b16a640eb8bd6424ca6
tree1276c211e5a72ace371bd85df0ffefd56f14d55b
parent6d59bad8e9cab6170e1af3d67597b6f5f145c33f
radeon+libdrm-radeon: change relocation informations

Relocation now consist of the following informations (in this order) :
handle          buffer object handle identifier
start_offset    start offset of first data of the buffer object used by the cs
end_offset      end offset of last data of the buffer object used by the cs
read_domain     read domain (either VRAM, or GTT as GPU is invalid for CS)
write_domain    write domain (either VRAM, or GTT as GPU is invalid for CS)
flags           flags used for further optimization (like discard previous
                buffer content or forget buffer content after cs which can
                help in avoiding moving content in or out)
libdrm/radeon/Makefile.am
libdrm/radeon/radeon_cs.h
libdrm/radeon/radeon_cs_gem.c
linux-core/radeon_gem.c