After I started looking into how various things are clocked in VLV, I noticed that we miscalculate the graphics clock a bit. So I set out to fix it, and while doing that I figured why not implement the same code for GPLL bypass mode. Supposedly there aren't any systems that use that mode currently, but I perhaps in the future... This was not actually tested on real hardware, but at least the numbers the new code produces match the spec better than the old code. Ville Syrjälä (4): drm/i915: Improve vlv_gpu_freq() and vlv_freq_opcode() drm/i915: Pass dev_priv to vlv_gpu_freq() and vlv_freq_opcode() drm/i915: Store HPLL frequency in dev_priv on VLV drm/i915: Add support for VLV GPLL bypass drivers/gpu/drm/i915/i915_debugfs.c | 17 +++---- drivers/gpu/drm/i915/i915_drv.h | 7 +-- drivers/gpu/drm/i915/i915_sysfs.c | 13 +++-- drivers/gpu/drm/i915/intel_display.c | 7 ++- drivers/gpu/drm/i915/intel_pm.c | 93 +++++++++++++++++++----------------- 5 files changed, 72 insertions(+), 65 deletions(-) _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx