From: Daniel Vetter <daniel@ffwll.ch>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: Re: [PATCH] drm/i915: VGA needs to be on pipe A on i830M
Date: Mon, 22 Oct 2012 15:07:59 +0200 [thread overview]
Message-ID: <20121022130759.GF24005@phenom.ffwll.local> (raw)
In-Reply-To: <1350854789-10535-1-git-send-email-daniel.vetter@ffwll.ch>
On Sun, Oct 21, 2012 at 11:26:29PM +0200, Daniel Vetter wrote:
> The bit doesn't stick, and the output is always cloned from pipe A,
> even when it's supposed to scan out from pipe B.
>
> Shuts up annoying warnings from the modeset-rework, too.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=51265
> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Note that this also fixes spurious VGA detection, since load-detect tried
to use pipe B (since pipe A was already occupied by the lvds output), but
in reality used pipe A and so wrongfully concluded that something is
connected to the VGA port.
Now we simply get an unknown state since we can't find any load detect
pipe. But if we manually move the LVDS to pipe B it works correctly.
-Daniel
> ---
> drivers/gpu/drm/i915/intel_crt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c
> index c42b980..b3e20aa 100644
> --- a/drivers/gpu/drm/i915/intel_crt.c
> +++ b/drivers/gpu/drm/i915/intel_crt.c
> @@ -743,7 +743,7 @@ void intel_crt_init(struct drm_device *dev)
>
> crt->base.type = INTEL_OUTPUT_ANALOG;
> crt->base.cloneable = true;
> - if (IS_HASWELL(dev))
> + if (IS_HASWELL(dev) || IS_I830(dev))
> crt->base.crtc_mask = (1 << 0);
> else
> crt->base.crtc_mask = (1 << 0) | (1 << 1) | (1 << 2);
> --
> 1.7.11.4
>
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
next prev parent reply other threads:[~2012-10-22 13:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-21 21:26 [PATCH] drm/i915: VGA needs to be on pipe A on i830M Daniel Vetter
2012-10-22 13:07 ` Daniel Vetter [this message]
2012-10-23 9:49 ` Chris Wilson
2012-10-23 11:04 ` 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=20121022130759.GF24005@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=daniel.vetter@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.