From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/vlv: assert and de-assert sideband reset at boot and resume v2
Date: Tue, 20 May 2014 11:10:55 -0700 [thread overview]
Message-ID: <20140520111055.40b129a3@jbarnes-desktop> (raw)
In-Reply-To: <1400541397-22588-1-git-send-email-jbarnes@virtuousgeek.org>
On Mon, 19 May 2014 16:16:37 -0700
Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> This is a bit like the CMN reset de-assert we do in DPIO_CTL, except
> that it resets the whole common lane section of the PHY. This is
> required on machines where the BIOS doesn't do this for us on boot or
> resume to properly re-calibrate and get the PHY ready to transmit data.
>
> Without this patch, such machines won't resume correctly much of the time,
> with the symptom being a 'port ready' timeout and/or a link training
> failure.
>
> v2: extract simpler set_power_well function for use in reset_dpio (Imre)
> move to reset_dpio (Daniel & Ville)
Summarizing the IRC discussion because we're terrible about doing that.
Imre was concerned that this new unconditional reset would prevent
fastboot from working, and I think he's right.
I added a check for the DPIO reset de-assertion for that case, and it
seems to do the right thing on my BYT here (skipping the reset on boot
since the BIOS already did it, and doing it on resume since the BIOS
hadn't).
Patch is in the next mail.
--
Jesse Barnes, Intel Open Source Technology Center
prev parent reply other threads:[~2014-05-20 18:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-19 23:16 [PATCH] drm/i915/vlv: assert and de-assert sideband reset at boot and resume v2 Jesse Barnes
2014-05-20 18:09 ` [PATCH] drm/i915/vlv: assert and de-assert sideband reset at boot and resume v3 Jesse Barnes
2014-05-21 17:54 ` Ville Syrjälä
2014-05-21 18:06 ` Jesse Barnes
2014-05-21 18:11 ` Jesse Barnes
2014-05-21 18:43 ` Ville Syrjälä
2014-05-22 6:51 ` Imre Deak
2014-05-22 8:10 ` Ville Syrjälä
2014-05-22 15:43 ` Jesse Barnes
2014-05-23 19:50 ` Jesse Barnes
2014-05-20 18:10 ` Jesse Barnes [this message]
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=20140520111055.40b129a3@jbarnes-desktop \
--to=jbarnes@virtuousgeek.org \
--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