Re: [PATCH RFC v6 02/26] gpu: Move DRM buddy allocator one level up

Joel Fernandes
2026-02-06T01:04:32Z

On 2/5/2026 3:55 PM, Dave Airlie wrote:
> On Wed, 21 Jan 2026 at 06:44, Joel Fernandes <joelagnelf@nvidia.com> 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@nvidia.com>
>
> I suggested this and think it's a good idea.
>
> Reviewed-by: Dave Airlie <airlied@redhat.com>
Thanks, Dave!

--
Joel Fernandes