Skip to content

Commit 3a4132e

Browse files
Timur Kristófalexdeucher
authored andcommitted
drm/amdgpu/gmc6: Place gart at low address range
Instead of using a best-fit algorithm to determine which part of the VMID 0 address space to use for GART, always use the low address range. A subsequent commit will use this to map the VCPU BO in GART for the VCE1 IP block. Split this into a separate patch to make it easier to bisect, in case there are any errors in the future. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 3b83248 commit 3a4132e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ static void gmc_v6_0_vram_gtt_location(struct amdgpu_device *adev,
213213

214214
amdgpu_gmc_set_agp_default(adev, mc);
215215
amdgpu_gmc_vram_location(adev, mc, base);
216-
amdgpu_gmc_gart_location(adev, mc, AMDGPU_GART_PLACEMENT_BEST_FIT);
216+
amdgpu_gmc_gart_location(adev, mc, AMDGPU_GART_PLACEMENT_LOW);
217217
}
218218

219219
static void gmc_v6_0_mc_program(struct amdgpu_device *adev)

0 commit comments

Comments
 (0)