]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Add the ddi get cdclk code for BXT (v3)
authorBob Paauwe <bob.j.paauwe@intel.com>
Tue, 23 Jun 2015 21:14:26 +0000 (14:14 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 Jun 2015 13:11:15 +0000 (15:11 +0200)
commitbd7e71389e0eaf1377eaa2281c9bbba4df16dd08
tree36daff5b7372b7fe08ddc03f52e25b38404a9c8b
parent454f9c779f905736204d212332a37e009b572b3a
drm/i915: Add the ddi get cdclk code for BXT (v3)

The registers and process differ from other platforms. If the hardware
was programmed incorrectly, this will return invalid cdclk values, which
should then cause reprogramming of the hardware.

v2(Matt): Return 19.2 MHz when DE PLL is disabled (Ville)
v3: Make less assumptions about the hardware state (Ville)

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Bob Paauwe <bob.j.paauwe@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
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