From: Jani Nikula <jani.nikula@linux.intel.com>
To: Krzysztof Karas <krzysztof.karas@intel.com>,
intel-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org,
Andi Shyti <andi.shyti@linux.intel.com>,
Janusz Krzysztofik <janusz.krzysztofik@linux.intel.com>,
Sebastian Brzezinka <sebastian.brzezinka@intel.com>,
Krzysztof Niemiec <krzysztof.niemiec@intel.com>,
Krzysztof Karas <krzysztof.karas@intel.com>
Subject: Re: [PATCH v5 0/6] drm/i915/selftests: Modernize printing in i915 selftests
Date: Thu, 01 Oct 2026 11:04:47 +0300 [thread overview]
Message-ID: <37378902e0cfa4bb79e442fcd27fb0017d74ef95@intel.com> (raw)
In-Reply-To: <20261001074100.2694888-1-krzysztof.karas@intel.com>
On Thu, 01 Oct 2026, Krzysztof Karas <krzysztof.karas@intel.com> wrote:
> Currently, in many instances, i915 functions call pr_* macros
> to write a message to the system log. This way of printing
> lacks device context, which could be a valuable source of
> information. Many files in DRM already use drm_* prints to
> include that context, so it would be beneficial to do the same
> for i915 as well. Start small and convert i915 selftests first.
>
> v5:
> * Reverted adding i915_* family of print macros (Jani, Andi);
On this version of the series,
Acked-by: Jani Nikula <jani.nikula@intel.com>
There are a few nitpicks, I might reply inline about them, but let's
just get this merged and over with, and *maybe* we can look at them
afterwards. Or not.
BR,
Jani.
>
> Krzysztof Karas (6):
> drm/i915/selftests: Use gt_*/drm_* prints in core selftests
> drm/i915/selftests: Use gt_*/drm_* prints in selftest helpers
> drm/i915/gt/selftests: Use gt_* prints in aggregated gt selftests
> drm/i915/gt/selftests: Use gt_* prints in gt standalone tests
> drm/i915/gt/selftests: Use gt_* prints in gt selftest helpers
> drm/i915/selftests: Use drm_* prints in i915_selftest.c
>
> drivers/gpu/drm/i915/gt/selftest_context.c | 20 +-
> drivers/gpu/drm/i915/gt/selftest_engine_cs.c | 5 +-
> .../drm/i915/gt/selftest_engine_heartbeat.c | 7 +-
> drivers/gpu/drm/i915/gt/selftest_engine_pm.c | 31 ++-
> drivers/gpu/drm/i915/gt/selftest_execlists.c | 243 +++++++++++-------
> drivers/gpu/drm/i915/gt/selftest_gt_pm.c | 21 +-
> drivers/gpu/drm/i915/gt/selftest_llc.c | 25 +-
> drivers/gpu/drm/i915/gt/selftest_migrate.c | 47 ++--
> drivers/gpu/drm/i915/gt/selftest_mocs.c | 7 +-
> drivers/gpu/drm/i915/gt/selftest_rc6.c | 32 ++-
> drivers/gpu/drm/i915/gt/selftest_reset.c | 20 +-
> drivers/gpu/drm/i915/gt/selftest_rps.c | 126 +++++----
> drivers/gpu/drm/i915/gt/selftest_slpc.c | 79 ++++--
> drivers/gpu/drm/i915/gt/selftest_tlb.c | 24 +-
> .../gpu/drm/i915/gt/selftest_workarounds.c | 70 +++--
> drivers/gpu/drm/i915/selftests/i915_active.c | 12 +-
> .../gpu/drm/i915/selftests/i915_gem_evict.c | 52 ++--
> drivers/gpu/drm/i915/selftests/i915_gem_gtt.c | 164 ++++++++----
> drivers/gpu/drm/i915/selftests/i915_perf.c | 30 ++-
> drivers/gpu/drm/i915/selftests/i915_request.c | 206 +++++++++------
> .../gpu/drm/i915/selftests/i915_selftest.c | 10 +-
> drivers/gpu/drm/i915/selftests/i915_vma.c | 187 +++++++++-----
> .../gpu/drm/i915/selftests/igt_flush_test.c | 4 +-
> .../gpu/drm/i915/selftests/igt_live_test.c | 6 +-
> drivers/gpu/drm/i915/selftests/igt_reset.c | 4 +-
> .../i915/selftests/intel_scheduler_helpers.c | 7 +-
> drivers/gpu/drm/i915/selftests/intel_uncore.c | 24 +-
> .../gpu/drm/i915/selftests/mock_gem_device.c | 4 +-
> 28 files changed, 958 insertions(+), 509 deletions(-)
--
Jani Nikula, Intel
next prev parent reply other threads:[~2026-10-01 8:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-01 7:40 [PATCH v5 0/6] drm/i915/selftests: Modernize printing in i915 selftests Krzysztof Karas
2026-10-01 7:40 ` [PATCH v5 1/6] drm/i915/selftests: Use gt_*/drm_* prints in core selftests Krzysztof Karas
2026-10-01 8:42 ` Jani Nikula
2026-10-01 9:35 ` Janusz Krzysztofik
2026-10-01 7:40 ` [PATCH v5 2/6] drm/i915/selftests: Use gt_*/drm_* prints in selftest helpers Krzysztof Karas
2026-10-01 7:40 ` [PATCH v5 3/6] drm/i915/gt/selftests: Use gt_* prints in aggregated gt selftests Krzysztof Karas
2026-10-01 7:40 ` [PATCH v5 4/6] drm/i915/gt/selftests: Use gt_* prints in gt standalone tests Krzysztof Karas
2026-10-01 7:40 ` [PATCH v5 5/6] drm/i915/gt/selftests: Use gt_* prints in gt selftest helpers Krzysztof Karas
2026-10-01 7:41 ` [PATCH v5 6/6] drm/i915/selftests: Use drm_* prints in i915_selftest.c Krzysztof Karas
2026-10-01 8:04 ` Jani Nikula [this message]
2026-10-01 11:44 ` ✗ Fi.CI.BUILD: failure for drm/i915/selftests: Modernize printing in i915 selftests (rev6) 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=37378902e0cfa4bb79e442fcd27fb0017d74ef95@intel.com \
--to=jani.nikula@linux.intel.com \
--cc=andi.shyti@linux.intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=janusz.krzysztofik@linux.intel.com \
--cc=krzysztof.karas@intel.com \
--cc=krzysztof.niemiec@intel.com \
--cc=sebastian.brzezinka@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 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.