Re: [PATCH 1/3] drm/suballoc: Extract amdgpu_sa.c as generic suballocation helper

2023-02-23 Thread Christian König
Am 23.02.23 um 12:22 schrieb Thomas Hellström: On 2/23/23 12:13, Christian König wrote: Am 23.02.23 um 11:57 schrieb Thomas Hellström: From: Maarten Lankhorst Suballocating a buffer object is something that is not driver-specific and useful for many drivers. Use a slightly modified version o

Re: [PATCH 1/3] drm/suballoc: Extract amdgpu_sa.c as generic suballocation helper

2023-02-23 Thread Thomas Hellström
On 2/23/23 12:13, Christian König wrote: Am 23.02.23 um 11:57 schrieb Thomas Hellström: From: Maarten Lankhorst Suballocating a buffer object is something that is not driver-specific and useful for many drivers. Use a slightly modified version of amdgpu_sa.c v2: - Style cleanups. (Thomas)

Re: [PATCH 1/3] drm/suballoc: Extract amdgpu_sa.c as generic suballocation helper

2023-02-23 Thread Christian König
Am 23.02.23 um 11:57 schrieb Thomas Hellström: From: Maarten Lankhorst Suballocating a buffer object is something that is not driver-specific and useful for many drivers. Use a slightly modified version of amdgpu_sa.c v2: - Style cleanups. (Thomas) - Added / Modified documentation (Thomas) -

[PATCH 1/3] drm/suballoc: Extract amdgpu_sa.c as generic suballocation helper

2023-02-23 Thread Thomas Hellström
From: Maarten Lankhorst Suballocating a buffer object is something that is not driver-specific and useful for many drivers. Use a slightly modified version of amdgpu_sa.c v2: - Style cleanups. (Thomas) - Added / Modified documentation (Thomas) - Use u64 for the sizes and offset. The code dates