diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/rv515.c')
-rw-r--r-- | drivers/gpu/drm/radeon/rv515.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/gpu/drm/radeon/rv515.c b/drivers/gpu/drm/radeon/rv515.c index f85499fa1968..d94291add6db 100644 --- a/drivers/gpu/drm/radeon/rv515.c +++ b/drivers/gpu/drm/radeon/rv515.c | |||
@@ -280,19 +280,13 @@ static void rv515_vram_get_type(struct radeon_device *rdev) | |||
280 | 280 | ||
281 | void rv515_mc_init(struct radeon_device *rdev) | 281 | void rv515_mc_init(struct radeon_device *rdev) |
282 | { | 282 | { |
283 | fixed20_12 a; | ||
284 | 283 | ||
285 | rv515_vram_get_type(rdev); | 284 | rv515_vram_get_type(rdev); |
286 | r100_vram_init_sizes(rdev); | 285 | r100_vram_init_sizes(rdev); |
287 | radeon_vram_location(rdev, &rdev->mc, 0); | 286 | radeon_vram_location(rdev, &rdev->mc, 0); |
288 | if (!(rdev->flags & RADEON_IS_AGP)) | 287 | if (!(rdev->flags & RADEON_IS_AGP)) |
289 | radeon_gtt_location(rdev, &rdev->mc); | 288 | radeon_gtt_location(rdev, &rdev->mc); |
290 | /* FIXME: we should enforce default clock in case GPU is not in | 289 | radeon_update_bandwidth_info(rdev); |
291 | * default setup | ||
292 | */ | ||
293 | a.full = rfixed_const(100); | ||
294 | rdev->pm.sclk.full = rfixed_const(rdev->clock.default_sclk); | ||
295 | rdev->pm.sclk.full = rfixed_div(rdev->pm.sclk, a); | ||
296 | } | 290 | } |
297 | 291 | ||
298 | uint32_t rv515_mc_rreg(struct radeon_device *rdev, uint32_t reg) | 292 | uint32_t rv515_mc_rreg(struct radeon_device *rdev, uint32_t reg) |