diff options
author | Eric Anholt <eric@anholt.net> | 2008-10-21 00:10:54 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2008-10-28 14:27:49 -0700 |
commit | 0e867312323fa51af324228b98bff4f49a813481 (patch) | |
tree | e2ebd033a8ecf9661d9c2936455ce2ff9ba5dccb /shared-core/radeon_cp.c | |
parent | e47ab7a5081e178bad385ce2e75b01474ea7aa4c (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 'shared-core/radeon_cp.c')
0 files changed, 0 insertions, 0 deletions