From: Simona Vetter <simona.vetter@ffwll.ch>
To: "Christian König" <christian.koenig@amd.com>
Cc: "Saarinen, Jani" <jani.saarinen@intel.com>,
Jani Nikula <jani.nikula@linux.intel.com>,
Tvrtko Ursulin <tursulin@ursulin.net>,
Simona Vetter <simona.vetter@ffwll.ch>,
"tzimmermann@suse.de" <tzimmermann@suse.de>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH] drm/prime: remove drm_prime_lookup_buf_by_handle
Date: Fri, 13 Jun 2025 15:20:51 +0200 [thread overview]
Message-ID: <aEwls5hPP9p-DPtt@phenom.ffwll.local> (raw)
In-Reply-To: <cc1f8c8a-c01b-432d-a466-94ce532d0183@amd.com>
On Fri, Jun 13, 2025 at 02:24:41PM +0200, Christian König wrote:
> On 6/13/25 14:15, Christian König wrote:
> > On 6/13/25 14:11, Saarinen, Jani wrote:
> >> Hi,
> >>
> >>> -----Original Message-----
> >>> From: dri-devel <dri-devel-bounces@lists.freedesktop.org> On Behalf Of Jani
> >>> Nikula
> >>> Sent: Friday, 13 June 2025 14.02
> >>> To: Tvrtko Ursulin <tursulin@ursulin.net>; Simona Vetter
> >>> <simona.vetter@ffwll.ch>; Christian König
> >>> <ckoenig.leichtzumerken@gmail.com>
> >>> Cc: tzimmermann@suse.de; dri-devel@lists.freedesktop.org
> >>> Subject: Re: [PATCH] drm/prime: remove drm_prime_lookup_buf_by_handle
> >>>
> >>> On Fri, 13 Jun 2025, Tvrtko Ursulin <tursulin@ursulin.net> wrote:
> >>>> On 13/06/2025 11:09, Jani Nikula wrote:
> >>>>> On Wed, 04 Jun 2025, Simona Vetter <simona.vetter@ffwll.ch> wrote:
> >>>>>> On Wed, Jun 04, 2025 at 05:36:22PM +0200, Simona Vetter wrote:
> >>>>> This regressed one of our CI IGT tests [1].
> >>>>>
> >>>>> BR,
> >>>>> Jani.
> >>>>>
> >>>>>
> >>>>> [1] https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14463
> >>>>
> >>>> It also explodes even more trivially when logging into a KDE Wayland
> >>>> session:
> >>>
> >>> Smells like a revert, and back to the drawing board, perhaps?
> >
> > Potentially, but any idea what's going wrong? Sounds like I missed something, but I don't see what.
>
> Oh! I now see what's going on.
>
> Looks like the code previously had a race condition and by removing the extra check I made the race condition 100% likely.
>
> Ups, I think a simple revert won't do it here. Give me a second.
Please make sure you cc: xe-devel so intel-gfx-ci can pick it up and test.
It's a bit embarrassing.
Also since this breaks things quite badly might be good to push the revert
right away since I don't think we can land the proper fix before the w/e.
For that
Acked-by: Simona Vetter <simona.vetter@ffwll.ch>
Cheers, Sima
>
> Regards,
> Christian.
>
> >
> > Regards,
> > Christian.
> >
> >> I would say so. Looks like this on our CI https://intel-gfx-ci.01.org/tree/drm-tip/igt@prime_self_import@basic-with_one_bo.html
> >> And systems stop testing anything after (see eg https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16692/bat-twl-1/igt_runner0.txt ) when aborts happens.
> >>
> >>>
> >>>
> >>> BR,
> >>> Jani.
> >>
> >> Br
> >> Other Jani
> >>>
> >>>
> >>> --
> >>> Jani Nikula, Intel
> >
>
--
Simona Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
next prev parent reply other threads:[~2025-06-13 13:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-04 11:32 [PATCH] drm/prime: remove drm_prime_lookup_buf_by_handle Christian König
2025-06-04 15:36 ` Simona Vetter
2025-06-04 16:21 ` Simona Vetter
2025-06-13 10:09 ` Jani Nikula
2025-06-13 10:18 ` Tvrtko Ursulin
2025-06-13 11:01 ` Jani Nikula
2025-06-13 12:11 ` Saarinen, Jani
2025-06-13 12:15 ` Christian König
2025-06-13 12:24 ` Christian König
2025-06-13 13:20 ` Simona Vetter [this message]
2025-06-13 13:58 ` Christian König
2025-06-13 13:16 ` Simona Vetter
2025-06-13 14:04 ` Ville Syrjälä
2025-06-13 14:07 ` Ville Syrjälä
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=aEwls5hPP9p-DPtt@phenom.ffwll.local \
--to=simona.vetter@ffwll.ch \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=jani.saarinen@intel.com \
--cc=tursulin@ursulin.net \
--cc=tzimmermann@suse.de \
/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.