diff options
author | Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com> | 2024-08-02 08:43:19 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-08 01:19:00 +0300 |
commit | d507ae0dc83b7f43cdf6760b8f1a30aac4fc405a (patch) | |
tree | 5e8c9337fc9cd0b2e1e8a5df9816c8317f712968 /.gitignore | |
parent | e8097cf1ce9e7ad8516ee95f06f7baaa31506035 (diff) | |
download | linux-d507ae0dc83b7f43cdf6760b8f1a30aac4fc405a.tar.xz |
drm/buddy: Add start address support to trim function
- Add a new start parameter in trim function to specify exact
address from where to start the trimming. This would help us
in situations like if drivers would like to do address alignment
for specific requirements.
- Add a new flag DRM_BUDDY_TRIM_DISABLE. Drivers can use this
flag to disable the allocator trimming part. This patch enables
the drivers control trimming and they can do it themselves
based on the application requirements.
v1:(Matthew)
- check new_start alignment with min chunk_size
- use range_overflows()
Signed-off-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit db65eb46de135338d6177f8853e0fd208f19d63e)
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions