From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Imre Deak <imre.deak@intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [Intel-gfx] [PATCH 3/3] drm/i915: Fix idle pattern enabling
Date: Thu, 9 Mar 2023 00:25:08 +0200 [thread overview]
Message-ID: <ZAkLRGNtH+fJZazS@intel.com> (raw)
In-Reply-To: <ZAkJ3buxTRRbgnt3@ideak-desk.fi.intel.com>
On Thu, Mar 09, 2023 at 12:19:09AM +0200, Imre Deak wrote:
> On Wed, Mar 08, 2023 at 11:28:07PM +0200, Ville Syrjälä wrote:
> > On Thu, Mar 02, 2023 at 09:03:42PM +0200, Imre Deak wrote:
> > > On Tue, Feb 14, 2023 at 03:43:48PM +0200, Ville Syrjala wrote:
> > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > >
> > > > Currently we are always switching to the idle pattern after the
> > > > link training, but we don't always wait for the minimum number
> > > > of idle patterns sent. That doesn't look to be what Bspec
> > > > asks of us.
> > > >
> > > > According to bspec what we should do is switch to idle pattern
> > > > and wait for it only in DP1.4 MST cases. In all other cases we
> > > > should apparently do neither.
> > > >
> > > > What confuses matters further is that the port sync SST sequence
> > > > asks us to "stay in idle pattern". But if we never switched to it
> > > > how can we stay in it? This still needs further clarificaiton.
> > >
> > > HSW seems to require it also for SST, but yes for all other platforms
> > > bspec only requires it for MST.
> >
> > commit 3ab9c63705cb ("drm/i915: hsw: fix link training for eDP on
> > port-A") (written by you it seems :) says there was some problem on
> > HSW that needed it for DDI A SST as well. But it's not really obvious
> > why you skipped the IDLE_DONE thing there. Maybe just an optimization?
>
> Ok, forgot about that. Looking back at the discussion the problem on HSW
> was that switching from sending idle patterns to normal mode didn't
> happen automatically due to some HW problem. The workaround was to to
> switch to idle patterns and enable normal mode manually after the pipe
> is enabled. The WA didn't require waiting for IDLE_DONE, but before
> TGL there is no DP_TP_STATUS register on port A either.
Ah, that would explain it. Also might explain some hardcoded wait
values I saw in some GOP stuff.
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2023-03-08 22:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-14 13:43 [Intel-gfx] [PATCH 1/3] drm/i915: Don't switch to TPS1 when disabling DP_TP_CTL Ville Syrjala
2023-02-14 13:43 ` [Intel-gfx] [PATCH 2/3] drm/i915: Don't send idle pattern after DP2.0 link training Ville Syrjala
2023-03-02 18:54 ` Imre Deak
2023-02-14 13:43 ` [Intel-gfx] [PATCH 3/3] drm/i915: Fix idle pattern enabling Ville Syrjala
2023-03-02 19:03 ` Imre Deak
2023-03-08 21:28 ` Ville Syrjälä
2023-03-08 22:19 ` Imre Deak
2023-03-08 22:25 ` Ville Syrjälä [this message]
2023-02-14 15:26 ` [Intel-gfx] ✗ Fi.CI.SPARSE: warning for series starting with [1/3] drm/i915: Don't switch to TPS1 when disabling DP_TP_CTL Patchwork
2023-02-14 15:50 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-02-15 3:22 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-03-02 18:53 ` [Intel-gfx] [PATCH 1/3] " Imre Deak
2023-03-07 16:26 ` [Intel-gfx] [PATCH v2 " Ville Syrjala
2023-03-07 22:07 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [v2,1/3] drm/i915: Don't switch to TPS1 when disabling DP_TP_CTL (rev2) Patchwork
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=ZAkLRGNtH+fJZazS@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=imre.deak@intel.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox