drm/amdgpu: fix AGP init order
[linux-2.6-microblaze.git] / drivers / gpu / drm / amd / amdgpu / gmc_v6_0.c
index 7f66954..42e103d 100644 (file)
@@ -211,6 +211,7 @@ static void gmc_v6_0_vram_gtt_location(struct amdgpu_device *adev,
 
        base <<= 24;
 
+       amdgpu_gmc_set_agp_default(adev, mc);
        amdgpu_gmc_vram_location(adev, mc, base);
        amdgpu_gmc_gart_location(adev, mc, AMDGPU_GART_PLACEMENT_BEST_FIT);
 }