summaryrefslogtreecommitdiff
path: root/tests/ttmtest/src/xf86dri.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-10-21 00:10:54 -0700
committerEric Anholt <eric@anholt.net>2008-10-28 14:27:49 -0700
commit0e867312323fa51af324228b98bff4f49a813481 (patch)
treee2ebd033a8ecf9661d9c2936455ce2ff9ba5dccb /tests/ttmtest/src/xf86dri.c
parente47ab7a5081e178bad385ce2e75b01474ea7aa4c (diff)
intel: Add dri_bufmgr_check_aperture support for bufmgr_gem.
This relies on a new kernel ioctl to get the available aperture size. In order to provide reasonable performance from dri_bufmgr_check_aperture, we now require that once a buffer has been used as the target of a relocation, it gets no further relocations added to it. This cuts the cost of check_aperture from 10% to 1% in the 3D driver with no code changes, but slightly complicates our plans for the 2D driver.
Diffstat (limited to 'tests/ttmtest/src/xf86dri.c')
0 files changed, 0 insertions, 0 deletions