From: Jani Nikula <jani.nikula@linux.intel.com>
To: Ander Conselvan De Oliveira <conselvan2@gmail.com>,
Daniel Vetter <daniel@ffwll.ch>,
"Lankhorst, Maarten" <maarten.lankhorst@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Reset dpll_hw_state when selecting a new pll on hsw
Date: Wed, 11 Nov 2015 16:21:05 +0200 [thread overview]
Message-ID: <87y4e4hb1q.fsf@intel.com> (raw)
In-Reply-To: <1447233950.3406.22.camel@gmail.com>
On Wed, 11 Nov 2015, Ander Conselvan De Oliveira <conselvan2@gmail.com> wrote:
> On Tue, 2015-11-10 at 14:53 +0200, Jani Nikula wrote:
>> Ander, Maarten, where are we with this? Is it horribly wrong to merge
>> the original patch in this ever-growing and diverging thread?
>
> I think the patch as is will cause problems with DP, since we might clear the
> pll selection made in hsw_dp_set_ddi_pll_sel(). I think the easy fix
> disregarding the discussion in this thread is to drop another memset in
> intel_crt_compute_config(). Like this
Ander, please post this as a proper patch for review.
BR,
Jani.
>
> diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
> index b84aaa0..ad099f3 100644
> --- a/drivers/gpu/drm/i915/intel_crt.c
> +++ b/drivers/gpu/drm/i915/intel_crt.c
> @@ -278,6 +278,9 @@ static bool intel_crt_compute_config(struct intel_encoder
> *encoder,
>
> /* FDI must always be 2.7 GHz */
> if (HAS_DDI(dev)) {
> + memset(&pipe_config->dpll_hw_state, 0,
> + sizeof(pipe_config->dpll_hw_state));
> +
> pipe_config->ddi_pll_sel = PORT_CLK_SEL_SPLL;
> pipe_config->port_clock = 135000 * 2;
> }
>
> Ander
--
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-11-11 14:17 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 15:34 [PATCH] drm/i915: Reset dpll_hw_state when selecting a new pll on hsw Gabriel Feceoru
2015-10-13 13:18 ` Maarten Lankhorst
2015-10-13 13:35 ` Daniel Vetter
2015-10-13 13:43 ` Daniel Vetter
2015-10-13 13:43 ` Maarten Lankhorst
2015-10-13 13:58 ` Daniel Vetter
2015-10-13 14:00 ` Maarten Lankhorst
2015-10-13 14:08 ` Daniel Vetter
2015-10-14 8:21 ` Ander Conselvan De Oliveira
2015-10-14 12:44 ` Daniel Vetter
2015-10-14 13:58 ` Ander Conselvan De Oliveira
2015-10-14 15:03 ` Daniel Vetter
2015-11-10 12:53 ` Jani Nikula
2015-11-11 9:25 ` Ander Conselvan De Oliveira
2015-11-11 14:21 ` Jani Nikula [this message]
2015-11-11 16:41 ` [PATCH] drm/i915: Clear DDI pll selection in intel_crtc_compute_config() Ander Conselvan de Oliveira
2015-11-11 18:27 ` [PATCH] drm/i915: Reset dpll_hw_state when selecting a new pll on hsw Gabriel Feceoru
2015-11-12 8:28 ` Lankhorst, Maarten
2015-11-12 18:35 ` Gabriel Feceoru
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y4e4hb1q.fsf@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=conselvan2@gmail.com \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=maarten.lankhorst@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.