From: Daniel Vetter <daniel@ffwll.ch>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: "Conselvan De Oliveira,
Ander" <ander.conselvan.de.oliveira@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>
Subject: Re: [PATCH] drm/i915: Simplify the way BC bifurcation state consistency is kept
Date: Wed, 11 Mar 2015 21:42:48 +0100 [thread overview]
Message-ID: <20150311204248.GP3800@phenom.ffwll.local> (raw)
In-Reply-To: <20150311165812.GV11371@intel.com>
On Wed, Mar 11, 2015 at 06:58:12PM +0200, Ville Syrjälä wrote:
> On Wed, Mar 11, 2015 at 11:37:54AM +0000, Conselvan De Oliveira, Ander wrote:
> > On Wed, 2015-03-11 at 13:35 +0200, Ander Conselvan de Oliveira wrote:
> > > Remove the global modeset resource function that would disable the
> > > bifurcation bit, and instead enable/disable it when enabling the pch
> > > transcoder. The mode set consistency check should prevent us from
> > > disabling the bit if pipe C is enabled so the change should be safe.
> > >
> > > Note that this doens't affect the logic that prevents the bit being
> > > set while a pipe is active, since the patch retains the behavior of
> > > only chaging the bit if necessary. Because of the checks during mode
> > > set, the first change would necessarily happen with both pipes B and
> > > C disabled, and any subsequent write would be skipped.
> > >
> > > v2: Only change the bit during pch trancoder enable. (Ville)
> >
> > Oops, I forgot the sob line.
> >
> > Signed-off-by: Ander Conselvan de Oliveira
> > <ander.conselvan.de.oliveira@intel.com>
>
>
> So I was staring at this stuff for a while and I believe it should be
> fine. We don't keep the bifurcation state entirely consistent when
> neither of the the pipes B/C are actually driving a PCH transcoder, but
> that shouldn't really matter. If we want to make it consistent then I
> suggest that we go with my earlier idea of only changing the state at
> transcoder B with >2 lanes enable/disable, and otherwise keep it enabled
> all the time. The slight complication there is the initial state we get
> from the BIOS which might not match that, so we'd need to sanitize it
> or something.
>
> Anyway, I also posted a couple of patches on top that try to sort out
> ironlake_check_fdi_lanes() [1]. With those and this one I think things
> should work even better than before.
>
> So for this patch:
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Queued for -next, thanks for the patch.
-Daniel
>--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2015-03-11 20:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 8:59 [PATCH] drm/i915: Ignore pipe B active state when enabling pipe C Ander Conselvan de Oliveira
2015-03-09 9:24 ` Jani Nikula
2015-03-09 9:33 ` Ander Conselvan De Oliveira
2015-03-09 16:21 ` Daniel Vetter
2015-03-10 12:32 ` [PATCH] drm/i915: Simplify the way BC bifurcation state consistency is kept Ander Conselvan de Oliveira
2015-03-10 12:35 ` [PATCH] tests: Add test for pipe B and C interactions in IVB Ander Conselvan de Oliveira
2015-03-10 19:05 ` Daniel Vetter
2015-03-11 11:33 ` [PATCH igt 1/2] lib/kms: Add a way to override an output's mode Ander Conselvan de Oliveira
2015-03-11 11:33 ` [PATCH igt 2/2] tests: Add test for pipe B and C interactions in IVB Ander Conselvan de Oliveira
2015-03-27 13:35 ` Thomas Wood
2015-03-11 13:26 ` [PATCH igt 1/2] lib/kms: Add a way to override an output's mode Damien Lespiau
2015-03-11 13:48 ` Ander Conselvan De Oliveira
2015-03-11 14:26 ` Damien Lespiau
2015-03-27 13:30 ` Thomas Wood
2015-03-10 13:03 ` [PATCH] drm/i915: Simplify the way BC bifurcation state consistency is kept Ville Syrjälä
2015-03-10 19:14 ` Daniel Vetter
2015-03-11 11:35 ` Ander Conselvan de Oliveira
2015-03-11 11:37 ` Conselvan De Oliveira, Ander
2015-03-11 16:58 ` Ville Syrjälä
2015-03-11 20:42 ` Daniel Vetter [this message]
2015-03-11 12:24 ` Ville Syrjälä
2015-03-11 13:10 ` Ville Syrjälä
2015-03-11 13:23 ` Conselvan De Oliveira, Ander
2015-03-11 20:12 ` shuang.he
2015-03-10 19:10 ` Daniel Vetter
2015-03-10 20:40 ` shuang.he
2015-03-09 12:17 ` [PATCH] drm/i915: Ignore pipe B active state when enabling pipe C shuang.he
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=20150311204248.GP3800@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=ander.conselvan.de.oliveira@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=ville.syrjala@linux.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.