Re: [PATCH v2 2/8] drm: improve drm_buddy_alloc function

2021-11-15 Thread Arunpravin
Hi Matthew, I am preparing version3 of the buddy allocator, Please find the updated comments. SNIP >>> -int drm_buddy_alloc_range(struct drm_buddy_mm *mm, >>> - struct list_head *blocks, >>> - u64 start, u64 size) >>> +static struct drm_buddy_block * >>> +a

Re: [PATCH v2 2/8] drm: improve drm_buddy_alloc function

2021-11-08 Thread Arunpravin
Hi Matthew, Thanks for the review, Please find my comments On 04/11/21 12:11 am, Matthew Auld wrote: > On 25/10/2021 14:00, Arunpravin wrote: >> - Make drm_buddy_alloc a single function to handle >>range allocation and non-range allocation demands >> >> - Implemented a new function alloc_range

Re: [PATCH v2 2/8] drm: improve drm_buddy_alloc function

2021-11-03 Thread Matthew Auld
On 25/10/2021 14:00, Arunpravin wrote: - Make drm_buddy_alloc a single function to handle range allocation and non-range allocation demands - Implemented a new function alloc_range() which allocates the requested power-of-two block comply with range limitations - Moved order computation a