diff options
| author | Tejas Upadhyay <tejas.upadhyay@intel.com> | 2026-09-03 21:46:00 +0530 |
|---|---|---|
| committer | Matthew Brost <matthew.brost@intel.com> | 2026-09-03 22:29:46 -0700 |
| commit | afc588a89015f55c52a3e83efa83253e79abab04 (patch) | |
| tree | d138283dbe86c4c58a6a0859894b410132ad69ea /scripts/Makefile.thinlto | |
| parent | f34e06068b0fa6708dcb958a99e651f60c770f99 (diff) | |
| download | linux-next-afc588a89015f55c52a3e83efa83253e79abab04.tar.gz linux-next-afc588a89015f55c52a3e83efa83253e79abab04.zip | |
drm/xe/vram: Extract buddy allocation and free helpers
Factor out xe_ttm_vram_buddy_alloc() and xe_ttm_vram_buddy_free()
from xe_ttm_vram_mgr_new() and xe_ttm_vram_mgr_del().
These new helpers consolidate block allocation/deallocation with
visible-size tracking. This modularization makes the logic reusable by
the upcoming VRAM page offlining reservation path.
No functional change.
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Signed-off-by: Tejas Upadhyay <tejas.upadhyay@intel.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patch.msgid.link/20260903161553.528932-24-tejas.upadhyay@intel.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
