[Intel-gfx] [PATCH 9/9] drm/i915: Disable DSI PLL before reconfiguring it
Sivakumar Thulasimani
sivakumar.thulasimani at intel.com
Sun Jul 12 23:17:05 PDT 2015
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani at intel.com>
On 6/29/2015 5:55 PM, ville.syrjala at linux.intel.com wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> The BIOS maybe leave the DSI PLL enabled even if the port is disabled.
> The PLL doesn't seem to like being reconfigured while it's enabled so
> make sure it's disabled before doing that.
>
> The better fix would be to expose all PLLs independently of their ports
> so that we could disable any unused ones during the sanitize phase. But
> this seems like an OK short term solution.
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
> ---
> drivers/gpu/drm/i915/intel_dsi.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c
> index 92bb252..07c4bb3 100644
> --- a/drivers/gpu/drm/i915/intel_dsi.c
> +++ b/drivers/gpu/drm/i915/intel_dsi.c
> @@ -907,6 +907,7 @@ static void intel_dsi_pre_pll_enable(struct intel_encoder *encoder)
>
> intel_dsi_prepare(encoder);
>
> + vlv_disable_dsi_pll(encoder);
> vlv_enable_dsi_pll(encoder);
> }
>
--
regards,
Sivakumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20150713/f967323e/attachment.html>
More information about the Intel-gfx
mailing list