summaryrefslogtreecommitdiff
path: root/libdrm/radeon/radeon_cs_gem.c
AgeCommit message (Collapse)Author
2009-06-30radeon: add support for write followed by read relocs.Dave Airlie
the DDX does this and used to handle it internally
2009-06-17libdrm/radeon: add initial libdrm_radeonDave Airlie
requires --enable-radeon-experimental-api for now
2008-12-10Revert "Merge branch 'modesetting-gem'"Jesse Barnes
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff.
2008-11-16libdrm-radeon: add print callback to cs & small fixesJerome Glisse
2008-11-15libdrm-radeon: unref return current BO ptr to reflect BO destructionJerome Glisse
2008-11-14libdrm-radeon: unreference buffer once cs stream is submited or on cs cleanJerome Glisse
BO are referenced once by reloc to make sure that they not destroyed before we get a chance to flush the cmd stream, so we need to unreference them once in cs submit or cs erase if cs i never submitted so bo can be destructed.
2008-11-12radeon+libdrm-radeon: change relocation informationsJerome Glisse
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)
2008-11-10libdrm-radeon: be verbose on bo failure and cleanup cs a bitJerome Glisse
2008-11-09libdrm-radeon: update libdrm-radeon to match current CS relocation structuresJerome Glisse
2008-11-06radeon: lib radeon add bo & cs gem backendJerome Glisse