From: Sebastian Brzezinka <sebastian.brzezinka@intel.com>
To: David Francis <David.Francis@amd.com>, <dri-devel@lists.freedesktop.org>
Cc: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>,
Christian Koenig <christian.koenig@amd.com>,
Simona Vetter <simona.vetter@ffwll.ch>
Subject: Re: [PATCH v2] drm/gem: Fix and enable CHANGE_HANDLE
Date: Fri, 30 Oct 2026 08:59:50 +0100 [thread overview]
Message-ID: <DMI0ITWM0GVE.2KY7024QB9UPZ@intel.com> (raw)
In-Reply-To: <20261007141043.2928048-1-David.Francis@amd.com>
Hi David,
On Wed Oct 7, 2026 at 4:10 PM CEST, David Francis wrote:
> Make the following changes to CHANGE_HANDLE
> - reject new_handle = old_handle with EINVAL
> - idr_preload before idr_alloc
> - reject new_handle = 0 with EINVAL
>
> See also the igt patch
> tests/intel: Add edge case and race condition tests for GEM_CHANGE_HANDLE
> on igt-dev
>
> v2: new_handle = old_handle is EINVAL
>
> cc: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
> cc: Christian Koenig <christian.koenig@amd.com>
> cc: Simona Vetter <simona.vetter@ffwll.ch>
> Signed-off-by: David Francis <David.Francis@amd.com>
> ---
I had a brief look at this series and it looks pretty good to me.
I would improve the commit messages so they describe not only what was
done, but also why. From my side, I ran the new tests on the try bot,
and they all pass.
https://patchwork.freedesktop.org/series/177021/#rev1
(re run doesn't pick up the new tests for some reason, soplease look
at rev1)
New tests have been introduced between CI_DRM_19403_full and Trybot_177021v1_full:
New IGT tests (11)
igt@gem_change_handle@change_prime:
Statuses : 6 pass(s)
Exec time: [0.01, 0.04] s
igt@gem_change_handle@invalid_handle:
Statuses : 6 pass(s)
Exec time: [0.01, 0.05] s
igt@gem_change_handle@new_handle_equals_old_handle:
Statuses : 4 pass(s)
Exec time: [0.01, 0.03] s
igt@gem_change_handle@new_handle_exceeds_int_max:
Statuses : 7 pass(s)
Exec time: [0.01, 0.04] s
igt@gem_change_handle@new_handle_taken:
Statuses : 6 pass(s)
Exec time: [0.01, 0.03] s
igt@gem_change_handle@new_handle_zero:
Statuses : 6 pass(s)
Exec time: [0.01, 0.04] s
igt@gem_change_handle@race_change_change:
Statuses : 6 pass(s)
Exec time: [1.01, 1.04] s
igt@gem_change_handle@race_change_create_close:
Statuses : 7 pass(s)
Exec time: [1.01, 1.04] s
igt@gem_change_handle@race_change_export_import:
Statuses : 6 pass(s)
Exec time: [1.01, 1.03] s
igt@gem_change_handle@sanity:
Statuses : 6 pass(s)
Exec time: [0.01, 0.03] s
igt@kms_cursor_crc@cursor-onscreen-64x64@pipe-c-hdmi-a-2:
Statuses : 1 pass(s)
Exec time: [2.23] s
--
Best regards,
Sebastian
next prev parent reply other threads:[~2026-10-30 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-07 14:10 [PATCH v2] drm/gem: Fix and enable CHANGE_HANDLE David Francis
2026-10-30 7:59 ` Sebastian Brzezinka [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-08-11 18:18 David Francis
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=DMI0ITWM0GVE.2KY7024QB9UPZ@intel.com \
--to=sebastian.brzezinka@intel.com \
--cc=David.Francis@amd.com \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=simona.vetter@ffwll.ch \
--cc=tvrtko.ursulin@igalia.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 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.