diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2009-12-17 13:50:09 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-23 11:14:04 +1000 |
commit | 5ea597f3764880ab3a67fe2246218634a8c12778 (patch) | |
tree | 4c3db0bbd38ee4c005335b61cdf9026fff768f14 /drivers/gpu/drm/radeon/radeon_clocks.c | |
parent | c31ad97f1886a2ff0f3356dc31d50c57944365da (diff) | |
download | op-kernel-dev-5ea597f3764880ab3a67fe2246218634a8c12778.zip op-kernel-dev-5ea597f3764880ab3a67fe2246218634a8c12778.tar.gz |
drm/radeon/kms: enable memory clock reading on legacy (V2)
V2: detect IGP cards (which don't have own memory)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_clocks.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_clocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_clocks.c b/drivers/gpu/drm/radeon/radeon_clocks.c index b062109..812f24d 100644 --- a/drivers/gpu/drm/radeon/radeon_clocks.c +++ b/drivers/gpu/drm/radeon/radeon_clocks.c @@ -62,7 +62,7 @@ uint32_t radeon_legacy_get_engine_clock(struct radeon_device *rdev) } /* 10 khz */ -static uint32_t radeon_legacy_get_memory_clock(struct radeon_device *rdev) +uint32_t radeon_legacy_get_memory_clock(struct radeon_device *rdev) { struct radeon_pll *mpll = &rdev->clock.mpll; uint32_t fb_div, ref_div, post_div, mclk; |