drm/radeon/kms: use tracked values for sclk and mclk
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 10 Aug 2010 16:33:20 +0000 (12:33 -0400)
committerDave Airlie <airlied@redhat.com>
Sun, 29 Aug 2010 23:51:20 +0000 (09:51 +1000)
commit8807286e569c4f12fa2bc980187f3e2abc606d11
tree12ab5b955ef6a67d3ba05cd1eb1895dd972f09d5
parent2bfc96a127bc1cc94d26bfaa40159966064f9c8c
drm/radeon/kms: use tracked values for sclk and mclk

Rather than calling get_memory_clock and get_engine_clock,
used the tracked values from the pm code.  Calling the tables
adds additional latency in the modesetting and pm paths.

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