diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2015-09-24 23:29:18 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-09-30 11:20:37 +0300 |
commit | bfa7df01a092e92ae764d39fee07fc3f486ed6a9 (patch) | |
tree | c574f67ae52766620b226814af7b267cea53bbcd /drivers/gpu/drm/i915/i915_sysfs.c | |
parent | 87d5d2593299cb8814e5f26c676aef3557650eea (diff) | |
download | linux-bfa7df01a092e92ae764d39fee07fc3f486ed6a9.tar.xz |
drm/i915: Read czclk from CCK on vlv/chv
As with the cdclk, read out czclk from CCK as well. This gives us the
real current value and avoids having to decode fuses and whatnot.
Also store it in kHz under dev_priv like we do for cdlck since it's not
just an rps related clock, and having it in kHz is more
standard/convenient for some things.
Imre also pointed out that we currently fail to read czclk on VLV, which
means the PFI credit programming isn't working as expected.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_sysfs.c')
0 files changed, 0 insertions, 0 deletions