Re: [PATCH RFC v6 02/26] gpu: Move DRM buddy allocator one level up
From: Joel Fernandes
Date: Thu Feb 05 2026 - 20:04:35 EST
On 2/5/2026 3:55 PM, Dave Airlie wrote:
> On Wed, 21 Jan 2026 at 06:44, Joel Fernandes <joelagnelf@xxxxxxxxxx> wrote:
>>
>> Move the DRM buddy allocator one level up so that it can be used by GPU
>> drivers (example, nova-core) that have usecases other than DRM (such as
>> VFIO vGPU support). Modify the API, structures and Kconfigs to use
>> "gpu_buddy" terminology. Adapt the drivers and tests to use the new API.
>>
>> The commit cannot be split due to bisectability, however no functional
>> change is intended. Verified by running K-UNIT tests and build tested
>> various configurations.
>>
>> Signed-off-by: Joel Fernandes <joelagnelf@xxxxxxxxxx>
>
> I suggested this and think it's a good idea.
>
> Reviewed-by: Dave Airlie <airlied@xxxxxxxxxx>
Thanks, Dave!
--
Joel Fernandes