All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Jesse Barnes <jbarnes@virtuousgeek.org>, intel-gfx@lists.freedesktop.org
Subject: Re: [RFC] drm/i915: read current config at init time to avoid flicker
Date: Thu, 01 Mar 2012 22:41:45 +0000	[thread overview]
Message-ID: <f80fcd$3m55rj@fmsmga001.fm.intel.com> (raw)
In-Reply-To: <20120301141858.28862e98@jbarnes-desktop>

On Thu, 1 Mar 2012 14:18:58 -0800, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> @@ -2427,6 +2448,8 @@ intel_dp_init(struct drm_device *dev, int output_reg)
>  	intel_connector_attach_encoder(intel_connector, intel_encoder);
>  	drm_sysfs_connector_add(connector);
>  
> +	intel_encoder->base.crtc = intel_dp_get_crtc(&intel_encoder->base);
intel_encoder->base.crtc = dev_priv->pipe_to_crtc_mapping[intel_dp_get_pipe(intel_dp)]

As the pipe-to-crtc mapping is already established by this point, and
indeed used in the LVDS chunk, you may as well use it here.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre

  reply	other threads:[~2012-03-01 22:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 20:37 [RFC] drm/i915: read current config at init time to avoid flicker Jesse Barnes
2012-03-01 22:18 ` Jesse Barnes
2012-03-01 22:41   ` Chris Wilson [this message]
2012-03-01 22:51     ` Jesse Barnes
2012-03-02  0:08 ` Keith Packard
2012-03-02  0:52   ` Jesse Barnes
2012-03-02  6:30     ` Keith Packard

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='f80fcd$3m55rj@fmsmga001.fm.intel.com' \
    --to=chris@chris-wilson.co.uk \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=jbarnes@virtuousgeek.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.