]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Wait for cdclk change to occure when going for 400MHz
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Jun 2014 10:37:52 +0000 (13:37 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Jul 2014 09:25:16 +0000 (11:25 +0200)
commita9aa54e482c014bce8d5be75a03fb1faac76752d
tree2c32a1bc5895261683712cf8fe42cb02e2d57ff8
parente5d4ddac82f1355239934714d51d869c237cd886
drm/i915: Wait for cdclk change to occure when going for 400MHz

VLV Punit doesn't support the 400MHz cdclk option, so we bypass the
Punit and poke at CCK directly. However we forgot to wait for the
frequeency change to complete. Poll the CCK clock status to make sure
the clock has changed before we fire up any pipes.

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