summaryrefslogtreecommitdiff
path: root/radeon/radeon_bo_gem.h
AgeCommit message (Collapse)AuthorFilesLines
2012-08-14radeon: add prime import/export supportDave Airlie1-0/+4
this adds radeon version of the prime import/export support. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-03-17libdrm_radeon: Optimize cs_gem_reloc to do less looping.Pauli Nieminen1-0/+1
bo->referenced_in_cs is checked if bo is already in cs. Adding and removing reference in bo is done with atomic operations to allow parallel access to a bo from multiple contexts. cs->id generation code quarentees there is not duplicated ids which limits number of cs->ids to 32. If there is more cs objects rest will get id 0. V2: - Fix configure to check for atomics operations if libdrm_radeon is only selected. - Make atomic operations private to libdrm. This optimization decreases cs_write_reloc share of torcs profiling from 4.3% to 2.6%. Tested-by: Michel Dänzer <michel@daenzer.net> Signed-off-by: Pauli Nieminen <suokkos@gmail.com>
2010-01-14radeon: indentation & trailing space cleanupJerome Glisse1-4/+4
2009-11-17Move libdrm/ up one levelKristian Høgsberg1-0/+43