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

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 <>
Signed-off-by: default avatarDave Airlie <>
parent fb1fbf8e
......@@ -616,13 +616,13 @@ int radeon_device_init(struct radeon_device *rdev,
/* Get vram informations */
/* Initialize clocks */
r = radeon_clocks_init(rdev);
if (r) {
return r;
/* Get vram informations */
/* Initialize memory controller (also test AGP) */
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