]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/vlv: split CCK and DDR freq usage
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 5 Nov 2013 00:06:59 +0000 (16:06 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 5 Nov 2013 18:28:47 +0000 (19:28 +0100)
commit76a967df03b76f0520941f2665928f50f41ae9c3
tree638ffc11b6bfcfc706763b7b6c51fc99b8e84819
parentf9a26710e6d30f5712b0b7b819942a9b26aa1b58
drm/i915/vlv: split CCK and DDR freq usage

It's possible that the CCK clock could run at a different rate than the
DDR clock, so use the same method to get CCK as the GMBUS code does when
calculating the new CDclk divider in the VLV display code.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_i2c.c