From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: Maarten Lankhorst <maarten.lankhorst@intel.com>
Cc: Jani Nikula <jani.nikula@intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: ✗ i915.CI.Full: failure for drm/i915/display: stop using the configurable fence timeout (rev2)
Date: Wed, 8 Apr 2026 19:47:16 +0300 [thread overview]
Message-ID: <adaGlN70oHVlk6K4@intel.com> (raw)
In-Reply-To: <dcaf9a16-a462-4b04-8b7b-29f03e4ea523@intel.com>
On Wed, Apr 08, 2026 at 05:49:58PM +0200, Maarten Lankhorst wrote:
> Hey,
>
> Den 2026-04-08 kl. 17:14, skrev Jani Nikula:
> > On Thu, 02 Apr 2026, Maarten Lankhorst <maarten.lankhorst@intel.com> wrote:
> >> Den 2026-04-02 kl. 11:40, skrev Jani Nikula:
> >>> On Wed, 03 Dec 2025, Maarten Lankhorst <maarten.lankhorst@intel.com> wrote:
> >>>> Hey,
> >>>>
> >>>> Den 2025-11-25 kl. 18:24, skrev Ville Syrjälä:
> >>>>> On Tue, Nov 25, 2025 at 03:55:02PM +0200, Jani Nikula wrote:
> >>>>>> Maarten, Ville, any ideas what to do about these?
> >>>>> Looks like we need the timeout to unbreak the modeset vs. reset
> >>>>> deadlock in a timely fashion.
> >>>>>
> >>>>> I'm not where we signal/error the fences the modeset is waiting
> >>>>> for, but I guess that must be happening after the whole reset
> >>>>> sequence is done. Doing that earlier would seem like another
> >>>>> solution, but dunno what other fallout it would have.
> >>>> intel_prepare_plane_fb() adds all dma-resv fences for old_obj on
> >>>> intel_crtc_needs_modeset(), does it change anything if we remove that,
> >>>> at least for the GPU reset commit?
> >>> We dropped the ball here a bit, and I'm a bit clueless as to what to
> >>> do. Except we'll need to unify i915 and xe here somehow.
> >>>
> >>> Alternatives:
> >>>
> >>> - Remove the timeout from i915 (the patch at hand), and fix the fallout
> >>> somehow.
> >>>
> >>> - Add the timeout to xe, and fix the fallout, if any.
> >>>
> >>> - Add the timeout to display parent interface, which is a bit meh.
> >>>
> >>>
> >> The mention in the commit is old_obj needs to be wait for flip_done, I do not believe this
> >> is the case that it was ever used in hardware supported by xe, so for xe the wait can be dropped entirely.
> >>
> >> Is this required for i915 still? In that case you can just eliminate
> >> the wait only for xe.
> > Trouble is, doing things differently basically means using the parent
> > interface no matter what.
> >
> The specific wait mentioned in intel_plane_prepare_plane_fb is only
> used in pre-universal plane overlay support, and in xf86-video-intel
> driver on < gen9. (source:
> intel_skylake_info specifies gen = 0110,
> and sna_wait_for_scanline() returns false for gen >= 0110 on sna.)
>
> Adding a < GEN9 check would be sufficient, and not driver specific.
How does skipping the wait for the old obj fence help if we're stuck
waiting on the new obj fence?
--
Ville Syrjälä
Intel
prev parent reply other threads:[~2026-04-08 16:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-12 15:56 [PATCH] drm/i915/display: stop using the configurable fence timeout Jani Nikula
2025-11-12 20:39 ` ✓ i915.CI.BAT: success for " Patchwork
2025-11-12 22:54 ` ✗ i915.CI.Full: failure " Patchwork
2025-11-13 10:08 ` [PATCH] " Maarten Lankhorst
2025-11-13 15:53 ` [PATCH v2] " Jani Nikula
2025-11-13 23:24 ` ✓ i915.CI.BAT: success for drm/i915/display: stop using the configurable fence timeout (rev2) Patchwork
2025-11-14 7:53 ` ✗ i915.CI.Full: failure " Patchwork
2025-11-25 13:55 ` Jani Nikula
2025-11-25 17:24 ` Ville Syrjälä
2025-12-03 10:48 ` Maarten Lankhorst
2026-04-02 9:40 ` Jani Nikula
2026-04-02 15:41 ` Maarten Lankhorst
2026-04-08 15:14 ` Jani Nikula
2026-04-08 15:49 ` Maarten Lankhorst
2026-04-08 16:10 ` Jani Nikula
2026-04-08 16:47 ` Ville Syrjälä [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=adaGlN70oHVlk6K4@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=maarten.lankhorst@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox