[PATCH v3 1/6] drm: move the buddy allocator from i915 into common drm

Matthew Auld matthew.auld at intel.com
Wed Nov 17 17:52:29 UTC 2021


On 16/11/2021 20:18, Arunpravin wrote:
> Move the base i915 buddy allocator code into drm
> - Move i915_buddy.h to include/drm
> - Move i915_buddy.c to drm root folder
> - Rename "i915" string with "drm" string wherever applicable
> - Rename "I915" string with "DRM" string wherever applicable
> - Fix header file dependencies
> - Fix alignment issues
> - add Makefile support for drm buddy
> - export functions and write kerneldoc description
> - Remove i915 selftest config check condition as buddy selftest
>    will be moved to drm selftest folder
> 
> cleanup i915 buddy references in i915 driver module
> and replace with drm buddy
> 
> v2:
>    - include header file in alphabetical order (Thomas)
>    - merged changes listed in the body section into a single patch
>      to keep the build intact (Christian, Jani)
> 
> Signed-off-by: Arunpravin <Arunpravin.PaneerSelvam at amd.com>

Any ideas for what to do with the existing selftests? Currently this 
series doesn't build yet for i915 due to this, and prevents throwing the 
series at CI.


More information about the dri-devel mailing list