]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Set the eDP link rate on DPLL0
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 14 Nov 2014 17:24:33 +0000 (17:24 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 17 Nov 2014 18:19:44 +0000 (19:19 +0100)
commit67319229dfc58efb3b756e6957bf4e7d1af5b017
tree8b6aac6bd0266450cdebb69107d7f8ad8d2d6414
parentecfc66c61f86ce316f395427e02031bdf3a66070
drm/i915/skl: Set the eDP link rate on DPLL0

On SKL DPLL0 is used to derive CDCLK but can also be used to drive an
eDP port (as long as we don't want SSC). DPLL0 is special enough to not
be handled by the shared DPLL framework (drives CDCLK, not supposed to
enable the HDMI mode), So we need to compute the configuration
separately from the other DPLLs.

Note that we don't need to reprogram DPLL0 (which would mean bringing
down CDCLK) to support the various eDP 1.3 link rates as they all share
the same VCO (8100).

Signed-off-by: Damien Lespiau <damien.lespiau@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_ddi.c
drivers/gpu/drm/i915/intel_dp.c