]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Fix DDI port_clock for VGA output
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Feb 2014 12:23:12 +0000 (14:23 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 5 Mar 2014 20:30:31 +0000 (21:30 +0100)
commitf961acf442e81ba48aaf41dfedc1c0c382f9f875
treeb7a20aa263665d84e1322c4bb38972896adf93b2
parentad2b08d11383312a389728f4dd9af053a89c24bc
drm/i915: Fix DDI port_clock for VGA output

On DDI there's no PLL as such to generate the pixel clock for VGA.
Instead we derive the pixel clock from the FDI link frequency. So
to make .compute_config match what .get_config does, we need to
set the port_clock based on the FDI link frequency.

Note that we don't even check the port_clock when selecting the
PLL for VGA output. We just assume SPLL at 1.35GHz is what we want,
and that does match with the asumption of FDI frequency of 2.7Ghz
we have in intel_fdi_link_freq().

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=74955
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_crt.c