Commit 95a8f1bf authored by Michel Dänzer's avatar Michel Dänzer Committed by Dave Airlie

drm/radeon/kms: Move radeon_clocks_init() call back after getting VRAM info.

It may indirectly call radeon_set_clock_gating() which relies on the VRAM info.
Signed-off-by: default avatarMichel Dänzer <daenzer@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@linux.ie>
parent fb1fbf8e
...@@ -616,13 +616,13 @@ int radeon_device_init(struct radeon_device *rdev, ...@@ -616,13 +616,13 @@ int radeon_device_init(struct radeon_device *rdev,
radeon_combios_asic_init(rdev->ddev); radeon_combios_asic_init(rdev->ddev);
} }
} }
/* Get vram informations */
radeon_vram_info(rdev);
/* Initialize clocks */ /* Initialize clocks */
r = radeon_clocks_init(rdev); r = radeon_clocks_init(rdev);
if (r) { if (r) {
return r; return r;
} }
/* Get vram informations */
radeon_vram_info(rdev);
/* Initialize memory controller (also test AGP) */ /* Initialize memory controller (also test AGP) */
r = radeon_mc_init(rdev); r = radeon_mc_init(rdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment