diff options
author | Michel Dänzer | 2009-09-15 17:09:26 +0200 |
---|---|---|
committer | Dave Airlie | 2009-09-16 01:14:58 +0200 |
commit | 95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6 (patch) | |
tree | 063c0b3a5845b5a25b6136d7ad487e0966bdaf60 /drivers/gpu/drm/radeon | |
parent | drm/radeon/kms: Only add common modes which fit in both panel dimensions. (diff) | |
download | kernel-qcow2-linux-95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6.tar.gz kernel-qcow2-linux-95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6.tar.xz kernel-qcow2-linux-95a8f1bf4f48b434c9f839ab5a0773f66b39d7c6.zip |
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: Michel Dänzer <daenzer@vmware.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/gpu/drm/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 7b6d0b1a5962..cc8e005c1b30 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -616,13 +616,13 @@ int radeon_device_init(struct radeon_device *rdev, radeon_combios_asic_init(rdev->ddev); } } + /* Get vram informations */ + radeon_vram_info(rdev); /* Initialize clocks */ r = radeon_clocks_init(rdev); if (r) { return r; } - /* Get vram informations */ - radeon_vram_info(rdev); /* Initialize memory controller (also test AGP) */ r = radeon_mc_init(rdev); |