drm/amdgpu: Add helper to set gart size
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 30 Apr 2026 05:31:47 +0000 (11:01 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 May 2026 13:56:51 +0000 (09:56 -0400)
commit035542d9fe03baceb2bb7f3cdd98290f81134f1a
tree96e541ff154f01a1250f41b34316a29908e68d29
parentd12d05c4bc4c15585130af43e897923ff292df7b
drm/amdgpu: Add helper to set gart size

Add a helper to make any adjustments to gart size based on other
parameters or conditions.

Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Christian König <christian.koenig@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_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h