From: Imre Deak <imre.deak@intel.com>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx <intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH 2/4] drm/i915: merge VLV eDP and DP AUX clock divider calculation
Date: Thu, 23 May 2013 17:56:38 +0300 [thread overview]
Message-ID: <1369320998.11230.21.camel@intelbox> (raw)
In-Reply-To: <1369133979.15652.46.camel@intelbox>
On Tue, 2013-05-21 at 13:59 +0300, Imre Deak wrote:
> On Tue, 2013-05-21 at 12:42 +0200, Daniel Vetter wrote:
> > On Tue, May 21, 2013 at 12:36 PM, Imre Deak <imre.deak@intel.com> wrote:
> > > On Tue, 2013-05-21 at 11:12 +0200, Daniel Vetter wrote:
> > >> On Thu, May 16, 2013 at 02:40:35PM +0300, Imre Deak wrote:
> > >> > On ValleyView for both eDP and DP the AUX input clock is 200MHz, so we
> > >> > can calculate for both the clock divider for the 2MHz target rate at the
> > >> > same place. Afterwards we can also replace the is_cpu_edp() check with a
> > >> > check for port A.
> > >> >
> > >> > Signed-off-by: Imre Deak <imre.deak@intel.com>
> > >>
> > >> There's a now-dead IS_VLV case in intel_hrawclk which should be killed
> > >> with this patch, too.
> > >
> > > Shouldn't it still return the correct value if someone calls it in the
> > > future? Actually it's also used in
> > > intel_dp_init_panel_power_sequencer_registers().
> >
> > Indeed. I think though it's better to make this an explicit vlv case
> > since hrawclk talks about the FSB. And that thing pretty surely
> > doesn't exist on vlv any more ;-)
>
> Ok. Tbh, I haven't thought about the differences in clock topology
> across the platforms, but would be nice to understand it better.
I checked now and the VLV spec does define hrawclk, so that would
justify keeping it in intel_hrawclk.
--Imre
next prev parent reply other threads:[~2013-05-23 14:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 11:40 [PATCH 0/4] drm/i915: remove is_cpu_edp() Imre Deak
2013-05-16 11:40 ` [PATCH 1/4] drm/i915: stop using is_cpu_edp() in intel_disable/post_disable_dp Imre Deak
2013-05-21 9:15 ` Daniel Vetter
2013-05-21 10:29 ` Imre Deak
2013-05-23 14:53 ` Imre Deak
2013-05-23 16:39 ` [PATCH v2 " Imre Deak
2013-05-16 11:40 ` [PATCH 2/4] drm/i915: merge VLV eDP and DP AUX clock divider calculation Imre Deak
2013-05-21 9:12 ` Daniel Vetter
2013-05-21 10:36 ` Imre Deak
2013-05-21 10:42 ` Daniel Vetter
2013-05-21 10:59 ` Imre Deak
2013-05-23 14:56 ` Imre Deak [this message]
2013-05-16 11:40 ` [PATCH 3/4] drm/i915: replace is_cpu_edp() with a check for port A Imre Deak
2013-05-16 11:40 ` [PATCH 4/4] drm/i915: remove unused is_cpu_edp() Imre Deak
2013-05-27 17:16 ` [PATCH 0/4] drm/i915: remove is_cpu_edp() Rodrigo Vivi
2013-05-27 17:28 ` Daniel Vetter
2013-05-27 17:54 ` Rodrigo Vivi
2013-05-28 9:37 ` Daniel Vetter
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=1369320998.11230.21.camel@intelbox \
--to=imre.deak@intel.com \
--cc=daniel@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
/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.