]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Move validation of reserve region info
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 26 Mar 2026 05:41:39 +0000 (11:11 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 3 Apr 2026 17:50:20 +0000 (13:50 -0400)
commit6845355a08c2dc7e5af3c37b7d8f61afbfec1939
tree5d522c75d96b76d92a97566606cddf43e618d4e1
parent7b0af16044b7669685f923d2c83c20d3aba72e18
drm/amdgpu: Move validation of reserve region info

Keep validation of reserved regions also as part of filling details. If
the information is invalid, size is kept as 0 so that it's not
considered for reservation.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c