diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2011-04-11 23:43:23 +0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-16 04:49:41 +0400 |
commit | 619d4f7e219f4e65137b66ac878cd1eba8e51e10 (patch) | |
tree | d680ef3bf6e6737834a5aead7ad0e2fb02048c60 /drivers/gpu/drm/nouveau/nv40_graph.c | |
parent | 1f962797fb1343f02cbacb94d80c4560d47b67a9 (diff) | |
download | linux-619d4f7e219f4e65137b66ac878cd1eba8e51e10.tar.xz |
drm/nv50: improve nv50_pm_get_clock()
Many of the nv50 cards have their shader and/or memory pll
disabled at some stage.
This patch addresses those cases, so that the function
returns the correct frequency.
When the shader pll is disabled, the blob reports 2*core clock
Whereas for memory, the data stored in the vbios. This action
is incorrect as some vbioses store a clock value that is less
than the refference clock of the pll.
Thus we are reporting the reff_clk as it is the frequency the
pll actually operates
v2 - Convert NV_INFO() messages to NV_DEBUG()
Provide more information in the actuall message
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv40_graph.c')
0 files changed, 0 insertions, 0 deletions