From: "Hogander, Jouni" <jouni.hogander@intel.com>
To: "ville.syrjala@linux.intel.com" <ville.syrjala@linux.intel.com>,
"Nikula, Jani" <jani.nikula@intel.com>
Cc: "dev@lankhorst.se" <dev@lankhorst.se>,
"intel-xe@lists.freedesktop.org" <intel-xe@lists.freedesktop.org>,
"Saarinen, Jani" <jani.saarinen@intel.com>,
"intel-gfx@lists.freedesktop.org"
<intel-gfx@lists.freedesktop.org>,
"De Marchi, Lucas" <lucas.demarchi@intel.com>,
"Govindapillai, Vinod" <vinod.govindapillai@intel.com>
Subject: Re: [PATCH 2/9] drm/{i915, xe}/fbdev: add intel_fbdev_fb_pitch_align()
Date: Tue, 14 Oct 2025 04:48:28 +0000 [thread overview]
Message-ID: <540f5979136e1baaf1298db03c81c5592a44a5a2.camel@intel.com> (raw)
In-Reply-To: <aO00lQvvlyKUX9_N@intel.com>
On Mon, 2025-10-13 at 20:19 +0300, Ville Syrjälä wrote:
> On Mon, Oct 13, 2025 at 04:52:04PM +0300, Jani Nikula wrote:
> > On Thu, 18 Sep 2025, Jani Nikula <jani.nikula@intel.com> wrote:
> > > On Tue, 16 Sep 2025, Ville Syrjälä
> > > <ville.syrjala@linux.intel.com> wrote:
> > > > For now I'd be happy if someone just nukes that bogus page
> > > > alignemnt
> > > > of the stride on xe, allowing i915 and xe to use the same code
> > > > here.
> > >
> > > I hope just [1] is enough for this.
> > >
> > > [1]
> > > https://lore.kernel.org/r/7f4972104de8b179d5724ae83892ee294d3f3fd3.1758184771.git.jani.nikula@intel.com
> >
> > So that regressed [2]. (Bisected internally, unfortunately not
> > reported
> > on the gitlab issue.) Any ideas, before I go on and resurrect this
> > patch
> > adding different strides for i915 and xe?
>
> That bisect doesn't make any real sense to me unless there's an
> existing
> bug in the xe code where it fails to pin (and somehow the smaller
> stride
> alignment makes it fail) but it still reports success to the caller.
Checked out drm-tip at 9c80ebfdd8460e69b35f5382f3e93a2a33a64e4f. Using
that hash + setup where seen earlier the issue is easily reproducing.
Reverted patches from the set which Jani is referring. After reverting
"[PATCH v2 01/10] drm/xe/fbdev: use the same 64-byte stride alignment
as i915" issue is not reproducing anymore.
I couldn't reproduce the issue using latest drm-tip but it is anyways
sporadic. It is seen in our CI testing with recent drm-tip as well.
BR,
Jouni Högander
>
> Unfortunately that code in xe is completely illegible due the scoped
> guard mess. So it's darn near impossible to see with a visual
> inspection
> where it might silently fail. I think someone will need to sprinkle
> debugs all over that code to track what is happening to the pin
> count.
>
next prev parent reply other threads:[~2025-10-14 4:48 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-03 20:31 [PATCH 0/9] drm/{i915,xe}/fbdev: refactor Jani Nikula
2025-09-03 20:31 ` [PATCH 1/9] drm/{i915, xe}/fbdev: pass struct drm_device to intel_fbdev_fb_alloc() Jani Nikula
2025-09-03 20:31 ` [PATCH 2/9] drm/{i915,xe}/fbdev: add intel_fbdev_fb_pitch_align() Jani Nikula
2025-09-05 9:23 ` [PATCH 2/9] drm/{i915, xe}/fbdev: " Ville Syrjälä
2025-09-08 12:55 ` Jani Nikula
2025-09-08 14:19 ` Lucas De Marchi
2025-09-08 16:10 ` Maarten Lankhorst
2025-09-08 16:27 ` Ville Syrjälä
2025-09-16 11:44 ` Jani Nikula
2025-09-16 19:19 ` Ville Syrjälä
2025-09-18 8:43 ` Jani Nikula
2025-10-13 13:52 ` Jani Nikula
2025-10-13 17:19 ` Ville Syrjälä
2025-10-14 4:48 ` Hogander, Jouni [this message]
2025-09-03 20:32 ` [PATCH 3/9] drm/{i915, xe}/fbdev: deduplicate struct drm_mode_fb_cmd2 init Jani Nikula
2025-09-03 20:32 ` [PATCH 4/9] drm/i915/fbdev: abstract bo creation Jani Nikula
2025-09-03 20:32 ` [PATCH 5/9] drm/xe/fbdev: " Jani Nikula
2025-09-03 20:32 ` [PATCH 6/9] drm/{i915,xe}/fbdev: add intel_fbdev_fb_bo_destroy() Jani Nikula
2025-09-04 14:37 ` Ville Syrjälä
2025-09-08 13:01 ` Jani Nikula
2025-09-17 12:33 ` Jani Nikula
2025-09-17 14:07 ` Ville Syrjälä
2025-09-18 8:46 ` Jani Nikula
2025-09-03 20:32 ` [PATCH 7/9] drm/{i915,xe}/fbdev: deduplicate fbdev creation Jani Nikula
2025-09-04 14:39 ` Ville Syrjälä
2025-09-08 12:57 ` Jani Nikula
2025-09-03 20:32 ` [PATCH 8/9] drm/{i915, xe}/fbdev: pass struct drm_device to intel_fbdev_fb_fill_info() Jani Nikula
2025-09-03 20:32 ` [PATCH 9/9] drm/i915/fbdev: drop dependency on display in i915 specific code Jani Nikula
2025-09-03 20:38 ` ✗ CI.checkpatch: warning for drm/{i915,xe}/fbdev: refactor Patchwork
2025-09-03 20:39 ` ✓ CI.KUnit: success " Patchwork
2025-09-03 21:11 ` ✓ Xe.CI.BAT: " Patchwork
2025-09-04 3:14 ` ✓ Xe.CI.Full: " 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=540f5979136e1baaf1298db03c81c5592a44a5a2.camel@intel.com \
--to=jouni.hogander@intel.com \
--cc=dev@lankhorst.se \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@intel.com \
--cc=jani.saarinen@intel.com \
--cc=lucas.demarchi@intel.com \
--cc=ville.syrjala@linux.intel.com \
--cc=vinod.govindapillai@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