summaryrefslogtreecommitdiff
path: root/libdrm/radeon
AgeCommit message (Collapse)Author
2009-10-03libdrm_radeon: Zero-initialize structures to silence valgrind warningsNicolai Hähnle
Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
2009-09-15radeon: fix 32/64 bit issue with sign extensionDave Airlie
Not sure what intptr_t was up to here. Reported and tested by: Kevin DeKorte Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-28Revert "libdrm_radeon: Always wait for BO idle in bo_map."Michel Dänzer
This reverts commit 0a732983f059c353b267b6bf877e1f0eea4e033f. Paul Nieminen and Dave Airlie pointed out on IRC that this shouldn't be necessary. I was seeing visual corruption in X before I made this change, but I can't reproduce that anymore so it was probably an unrelated issue.
2009-08-27libdrm_radeon: Always wait for BO idle in bo_map.Michel Dänzer
This allows users to eliminate explicit bo_wait calls before bo_map calls.
2009-08-22radeon: add support for busy/domain check interface.Pauli Nieminen
airlied: modified the interface to drop busy return value, just return it normally, also fixed int->uint32_t for domain Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18libdrm_radeon: Optimize copy of table to cs buffer with specialized call.Pauli Nieminen
Using this call in OUT_BATCH_TABLE reduces radeonEmitState cpu usage from 9% to 5% and emit_vpu goes from 7% to 1.5%. I did use calgrind to profile gears for cpu hotspots with r500 card. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18libdrm_radeon: Fix loops so that compiler can optimize them.Pauli Nieminen
GCC did war about optimization not possible because possible forever loop. Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-18libdrm/radeon: Update head of linked list not to point freed memory.Pauli Nieminen
Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2009-08-17radeon: fix bo wait at map time.Dave Airlie
2009-08-15radeon: fix GTT writing space checkDave Airlie
Noticed by vehemens on irc. Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-08-01libdrm_radeon: add tiling supportDave Airlie
2009-08-01radeon: don't map/unmap explicitly.Dave Airlie
This caches the mapping and just use mapping as a sync point
2009-07-06radeon: move cs space checking code to libdrm_radeon.Dave Airlie
This ports a lot of the space checking code into a the common library, so that the DDX and mesa can use it.
2009-07-03radeon: fix cs buffer realloc paddingJerome Glisse
We always realloc at least 0x1000 dwords (page on most system) when growing the cs buffer this is to avoid having to realloc at each cs_begin.
2009-07-03radeon: fix realloc of packets.Dave Airlie
This should use ndw not cdw, using cdw leads to realloc alignment going wrong
2009-07-02radeon: add buffer naming functionDave Airlie
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-14libdrm-radeon: new tracker toolsJerome Glisse
To keep record of bo activities and print them when necessary, should help in tracking unbalanced ref/unref calls.
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
2008-11-05radeon: libdrm_radeon add handle to debug stringJerome Glisse
2008-11-02radeon: debug boJerome Glisse
2008-10-29radeon: libdrm_radeon updates bo & cs interfacesJerome Glisse
2008-10-27radeon: reloc are backend dependantJerome Glisse
2008-10-27radeon: radeon util libraryJerome Glisse