]> git.baikalelectronics.ru Git - kernel.git/commit
i915: Set ddi_pll_sel in DP MST path
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Mon, 31 Aug 2015 08:23:28 +0000 (11:23 +0300)
committerJani Nikula <jani.nikula@intel.com>
Tue, 1 Sep 2015 09:42:27 +0000 (12:42 +0300)
commit91419253e7834015858ed949b5d5ccc489654048
treea25632f5a0d29a2b7ba34a6b4ddc55fd60093bc3
parent0a985d901507348752cc4fc55f1086e867e14555
i915: Set ddi_pll_sel in DP MST path

The DP MST encoder config function never sets ddi_pll_sel, even though
its value is programmed in its ->pre_enable() hook. That used to work
because a new pipe_config was kzalloc'ed at every modeset, and the value
of zero selects the highest clock for the PLL. Starting with the commit
below, the value of ddi_pll_sel is preserved through modesets, and since
the correct value wasn't properly setup by the MST code, it could lead
to warnings and blank screens.

commit a841cc28c38674db30e25767ab04dd7f60e87b7c
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Date:   Fri May 15 11:51:50 2015 +0300

    drm/i915: Preserve ddi_pll_sel when allocating new pipe_config

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=91628
Cc: stable@vger.kernel.org # 0a985d901507 drm/i915: Don't use link_bw for PLL setup
Cc: stable@vger.kernel.org
Cc: Timo Aaltonen <tjaalton@ubuntu.com>
Cc: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_dp_mst.c
drivers/gpu/drm/i915/intel_drv.h