aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorArunpravin Paneer Selvam <[email protected]>2024-08-02 11:13:19 +0530
committerAlex Deucher <[email protected]>2024-08-06 11:11:01 -0400
commitdb65eb46de135338d6177f8853e0fd208f19d63e (patch)
treed4d62f6a20f3a42935f0e0dd353ca344c1db1a42 /drivers/gpu/drm/amd/amdgpu
parente1dbe625d6ac2821eb29e087db46cb539d8079f0 (diff)
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 <[email protected]> Acked-by: Alex Deucher <[email protected]> Acked-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
0 files changed, 0 insertions, 0 deletions