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 2/2] drm/i915: Suspend/resume encoders during GPU reset
Date: Thu, 6 Oct 2022 22:24:45 +0300 [thread overview]
Message-ID: <Yz8rfR8T2XoXiIiT@intel.com> (raw)
In-Reply-To: <Yz3wnbs+66FdHmHG@ideak-desk.fi.intel.com>
On Thu, Oct 06, 2022 at 12:01:17AM +0300, Imre Deak wrote:
> On Wed, Oct 05, 2022 at 10:14:43PM +0300, Ville Syrjälä wrote:
> > On Wed, Oct 05, 2022 at 08:52:51PM +0300, Imre Deak wrote:
> > > The GPU reset involves a display suspend/resume sequence, but this is
> > > done without suspending/resuming the encoders.
> >
> > The display reset path is there for the old platforms which
> > can't reset the gt stuff separately from the display engine.
> > And the only reason we started to force that codepath on more
> > modern platforms was to make sure it doesn't break all the time.
> > That used to happen quite regularly, but not sure if we even had
> > any pre-g4x hw in CI at the time.
> >
> > I suspect it's probably a mistake to start piling on more
> > code in there just to make it work on really modern hw.
> > The old hw where it actually matters doesn't need any of
> > that code after all.
>
> Ok, but for the !clobbers_display case the current resume sequence is
> broken imo. So if this fix is not acceptable how about only restoring
> modeset_restore_state in this case without reading out the HW state
> first (to keep some test coverage still) or removing the
> force_reset_modeset_test?
So the conclusion from our chat was to nuke all the extra
junk from the simulated path and leave it with just the
commit_duplicated_state(). I think that's still sufficient
test of the display vs. reset path since it should still
grab the modeset locks and whatnot. Well, sufficient
assuming it actually works :)
--
Ville Syrjälä
Intel
next prev parent reply other threads:[~2022-10-06 19:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 17:52 [Intel-gfx] [PATCH 1/2] drm/i915: Take display INIT power for GPU reset/restore Imre Deak
2022-10-05 17:52 ` [Intel-gfx] [PATCH 2/2] drm/i915: Suspend/resume encoders during GPU reset Imre Deak
2022-10-05 19:14 ` Ville Syrjälä
2022-10-05 21:01 ` Imre Deak
2022-10-06 19:24 ` Ville Syrjälä [this message]
2022-10-07 13:01 ` Imre Deak
2022-10-05 18:37 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915: Take display INIT power for GPU reset/restore Patchwork
2022-10-05 18:56 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-10-06 10:49 ` [Intel-gfx] ✓ Fi.CI.IGT: " 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=Yz8rfR8T2XoXiIiT@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 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.