diff options
author | Jerome Glisse <jglisse@redhat.com> | 2009-12-10 17:16:27 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-11 14:09:05 +1000 |
commit | 09855acb1c2e3779f25317ec9a8ffe1b1784a4a8 (patch) | |
tree | 4a96a67c6bc9694036a95aafd4004c9e9b89eadc /mm | |
parent | 4361e52ad0372e6fd2240a2207b49a4de1f45ca9 (diff) |
drm/ttm: Convert ttm_buffer_object_init to use ttm_placement
Convert ttm_buffer_object_init to use struct ttm_placement and
rename to ttm_bo_init for consistency with function naming. This
allow to give more complex placement at buffer creation. For
instance you ask to allocate bo into vram first but if there is
not enough vram you can give system as a second possible
placement. It also allow to create buffer in a specific range.
Also rename ttm_buffer_object_validate to ttm_bo_validate.
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions