drm/radeon/kms: dynclks fixes
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 5 Feb 2010 05:55:32 +0000 (00:55 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Feb 2010 23:32:31 +0000 (09:32 +1000)
commit6d7f2d8da106ecf794a5a3e98c4239f348119e3c
tree93f72b1ee3c3532fde235517f71dbd1a87585bfb
parenta0eb38eb8637a81bb7770d34036e498d2ba63a26
drm/radeon/kms: dynclks fixes

- only r4xx/r5xx/rs6xx/rs740 have clock gating atom table,
so disable it on r6xx.  it's already disabled on r7xx
- check to make sure the clock_gating hook exists before
calling it.  This avoids a segfault on asics without
that function.
- remove unused static power management function.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/radeon_atombios.c
drivers/gpu/drm/radeon/radeon_clocks.c