diff options
| author | Matthew Auld <matthew.auld@intel.com> | 2021-06-16 18:24:55 +0300 |
|---|---|---|
| committer | Matthew Auld <matthew.auld@intel.com> | 2021-06-16 18:33:21 +0300 |
| commit | 88be9a0a06b73ecd85a688a7c174c941e9692e92 (patch) | |
| tree | 91d47ca57f2a5dbeddcb663940918d68623649a1 /include/linux | |
| parent | c865204e84a1a5c35e055b45971524efe4616e31 (diff) | |
| download | linux-88be9a0a06b73ecd85a688a7c174c941e9692e92.tar.xz | |
drm/i915/ttm: add ttm_buddy_man
Add back our standalone i915_buddy allocator and integrate it into a
ttm_resource_manager. This will plug into our ttm backend for managing
device local-memory in the next couple of patches.
v2(Thomas):
- Return -ENOSPC from the buddy; ttm expects this in order to
trigger eviction
- Drop the unnecessary inline
- bo->page_alignment is in page units
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Acked-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210616152501.394518-1-matthew.auld@intel.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
