Arunpravin Paneer Selvam 2eb412aa25 drm/amdgpu: Move the size computations to drm buddy
- Move roundup_power_of_two() and IS_ALIGNED() computations to
  drm buddy file to support the new try harder mechanism for
  contiguous allocation.

- Move trim function call to drm_buddy_alloc_blocks() function.

Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230909160902.15644-2-Arunpravin.PaneerSelvam@amd.com
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
2023-09-11 20:18:06 +02:00
..
2023-07-17 15:37:57 +02:00
2023-07-17 15:37:57 +02:00
2023-07-17 15:37:57 +02:00
2022-11-24 11:05:43 +10:00
2022-04-07 12:53:54 +02:00
2023-07-17 15:37:57 +02:00
2023-07-17 15:37:57 +02:00
2022-04-25 11:17:45 +02:00
2023-01-24 17:36:29 +01:00
2023-01-24 17:36:29 +01:00
2023-01-24 17:36:29 +01:00
2023-01-24 17:36:29 +01:00
2023-02-03 15:37:31 -05:00
2023-06-09 12:32:21 -04:00
2023-06-09 12:32:21 -04:00
2022-05-04 09:53:12 -04:00
2022-05-04 10:43:54 -04:00
2022-05-10 17:53:11 -04:00
2023-06-15 10:42:42 -04:00
2023-03-15 18:45:26 -04:00
2023-03-15 18:45:26 -04:00
2023-03-31 11:18:42 -04:00
2021-10-20 11:43:57 -04:00
2022-03-22 10:53:39 -04:00
2023-06-09 12:41:11 -04:00