diff options
| author | John Olender <[email protected]> | 2025-04-29 11:24:28 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-05-29 14:56:23 +0000 |
| commit | 4d2f6b4e4c7ed32e7fa39fcea37344a9eab99094 (patch) | |
| tree | 7015656769f2d968e503b6d01a4d3698f9bde674 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h | |
| parent | drm/amdgpu/vcn5.0.1: read back register after written (diff) | |
| download | kernel-4d2f6b4e4c7ed32e7fa39fcea37344a9eab99094.tar.gz kernel-4d2f6b4e4c7ed32e7fa39fcea37344a9eab99094.zip | |
drm/amdgpu: amdgpu_vram_mgr_new(): Clamp lpfn to total vram
The drm_mm allocator tolerated being passed end > mm->size, but the
drm_buddy allocator does not.
Restore the pre-buddy-allocator behavior of allowing such placements.
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3448
Signed-off-by: John Olender <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Arunpravin Paneer Selvam <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h')
0 files changed, 0 insertions, 0 deletions
