Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Wajdeczko <michal.wajdeczko@intel.com>
To: intel-xe@lists.freedesktop.org
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>,
	Gustavo Sousa <gustavo.sousa@intel.com>
Subject: [PATCH 0/2] drm/xe/tests: Fix subplatform selection
Date: Sat,  5 Sep 2026 22:01:55 +0200	[thread overview]
Message-ID: <20260905200157.3164-1-michal.wajdeczko@intel.com> (raw)

Sashiko pointed out that in some cases we could wrongly select a pointer
to a sentinel element of subplatform descriptors list instead of NULL.

While around, make default subplatform selection future proof.

[1] https://lore.kernel.org/intel-xe/20260904171419.E21DF1F00A3D@smtp.kernel.org/

Cc: Gustavo Sousa <gustavo.sousa@intel.com>

Michal Wajdeczko (2):
  drm/xe/tests: Fix default subplatform selection
  drm/xe/tests: Fix subplatform selection

 drivers/gpu/drm/xe/tests/xe_pci.c | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

-- 
2.47.1


             reply	other threads:[~2026-09-05 20:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-05 20:01 Michal Wajdeczko [this message]
2026-09-05 20:01 ` [PATCH 1/2] drm/xe/tests: Fix default subplatform selection Michal Wajdeczko
2026-09-09 19:04   ` Gustavo Sousa
2026-09-09 19:22     ` Michal Wajdeczko
2026-09-05 20:01 ` [PATCH 2/2] drm/xe/tests: Fix " Michal Wajdeczko
2026-09-09 19:13   ` Gustavo Sousa
2026-09-09 19:35     ` Michal Wajdeczko
2026-09-05 20:10 ` ✓ CI.KUnit: success for " Patchwork
2026-09-05 20:53 ` ✓ Xe.CI.BAT: " Patchwork
2026-09-05 21:52 ` ✓ 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=20260905200157.3164-1-michal.wajdeczko@intel.com \
    --to=michal.wajdeczko@intel.com \
    --cc=gustavo.sousa@intel.com \
    --cc=intel-xe@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox