[PATCH 0/3] drm/helpers: Make the suballocation manager drm generic

2023-02-23 Thread Thomas Hellström
This series (or at least the suballocator helper) is a prerequisite for the new Xe driver. There was an unresolved issue when the series was last up for review, and that was the per allocation aligment. Last message was from Maarten Lankhorst arguing that the larger per-driver alignment used would

Re: [PATCH 0/3] drm/helpers: Make the suballocation manager drm generic.

2022-02-24 Thread Maarten Lankhorst
Op 23-02-2022 om 16:11 schreef Christian König: > Am 23.02.22 um 14:51 schrieb Maarten Lankhorst: >> Second version of the patch. I didn't fix the copyright (which ame up >> in the previous version), as I feel the original author should send a >> patch for that. >> >> I've made the suballocator int

Re: [PATCH 0/3] drm/helpers: Make the suballocation manager drm generic.

2022-02-23 Thread Christian König
Am 23.02.22 um 14:51 schrieb Maarten Lankhorst: Second version of the patch. I didn't fix the copyright (which ame up in the previous version), as I feel the original author should send a patch for that. I've made the suballocator into its own module, and did a cleanup pass on it. The suballocat

[PATCH 0/3] drm/helpers: Make the suballocation manager drm generic.

2022-02-23 Thread Maarten Lankhorst
Second version of the patch. I didn't fix the copyright (which ame up in the previous version), as I feel the original author should send a patch for that. I've made the suballocator into its own module, and did a cleanup pass on it. The suballocator is generic enough to be useful for any resource

[RFC PATCH 0/3] drm/helpers: Make the suballocation manager drm generic.

2022-02-04 Thread Maarten Lankhorst
The suballocation manager itself is not dependent on any implementation detail, and can be made generic. I want to potentially use it inside i915, as it looks like a clean implementation to do so. :) Looking for feedback and some testing, as I don't have a amdgpu/radeon myself. Only compile tested