public inbox for intel-xe@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org,
	"Jani Nikula" <jani.nikula@intel.com>,
	"Jouni Högander" <jouni.hogander@intel.com>,
	"Maarten Lankhorst" <maarten.lankhorst@linux.intel.com>
Subject: [PATCH v3 0/7] drm/i915/reset: Expose "display_reset_count" in debugfs
Date: Thu, 16 Apr 2026 00:04:04 +0300	[thread overview]
Message-ID: <20260415210411.24750-1-ville.syrjala@linux.intel.com> (raw)

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Expose a display reset count in debugfs. It will be used
by kms_busy/*-with-reset tests to confirm they are actually
testing the thing they are meant to test.

This should now pass on all platforms, after the last patch
prevents the per-engine reset shortcut when using execlist
submission.

v2: Deal with the execlist per-engine reset issue
v3: Deal with the stale i915->display floating around in the mock tests

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>

Ville Syrjälä (7):
  drm/i915: Clear i915->display when no longer valid
  drm/xe: Clear xe->display when no longer valid
  drm/i915/reset: Reorganize display reset code
  drm/i915/reset: Move pending_fb_pin handling to i915
  drm/xe/display: Add init_clock_gating.h stubs
  drm/i915/reset: Add "display_reset_count" debugfs file
  drm/i915/reset: Disable execlist per-engine reset for display reset
    tests

 .../gpu/drm/i915/display/intel_display_core.h |  5 ++-
 .../drm/i915/display/intel_display_debugfs.c  |  2 +
 .../drm/i915/display/intel_display_power.c    |  2 -
 .../drm/i915/display/intel_display_reset.c    | 40 +++++++++----------
 .../drm/i915/display/intel_display_reset.h    |  8 ++--
 drivers/gpu/drm/i915/display/intel_overlay.c  | 10 +----
 drivers/gpu/drm/i915/gt/intel_reset.c         | 35 +++++++++-------
 drivers/gpu/drm/i915/i915_dpt.c               |  5 +--
 drivers/gpu/drm/i915/i915_driver.c            |  1 +
 drivers/gpu/drm/i915/i915_drv.h               |  2 +
 drivers/gpu/drm/i915/i915_fb_pin.c            |  9 ++---
 drivers/gpu/drm/i915/i915_overlay.c           |  6 +++
 .../gpu/drm/i915/selftests/mock_gem_device.c  |  1 +
 drivers/gpu/drm/xe/Makefile                   |  1 +
 .../compat-i915-headers/intel_clock_gating.h  | 10 ++++-
 drivers/gpu/drm/xe/display/xe_display.c       | 13 +++---
 16 files changed, 86 insertions(+), 64 deletions(-)

-- 
2.52.0


             reply	other threads:[~2026-04-15 21:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-15 21:04 Ville Syrjala [this message]
2026-04-15 21:04 ` [PATCH v3 1/7] drm/i915: Clear i915->display when no longer valid Ville Syrjala
2026-04-16  8:17   ` Jani Nikula
2026-04-15 21:04 ` [PATCH v3 2/7] drm/xe: Clear xe->display " Ville Syrjala
2026-04-16 15:49   ` Jani Nikula
2026-04-15 21:04 ` [PATCH v3 3/7] drm/i915/reset: Reorganize display reset code Ville Syrjala
2026-04-15 21:04 ` [PATCH v3 4/7] drm/i915/reset: Move pending_fb_pin handling to i915 Ville Syrjala
2026-04-15 21:04 ` [PATCH v3 5/7] drm/xe/display: Add init_clock_gating.h stubs Ville Syrjala
2026-04-15 21:04 ` [PATCH v3 6/7] drm/i915/reset: Add "display_reset_count" debugfs file Ville Syrjala
2026-04-15 21:04 ` [PATCH v3 7/7] drm/i915/reset: Disable execlist per-engine reset for display reset tests Ville Syrjala
2026-04-15 21:11 ` ✓ CI.KUnit: success for drm/i915/reset: Expose "display_reset_count" in debugfs (rev4) Patchwork
2026-04-15 22:07 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-15 23:44 ` ✓ 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=20260415210411.24750-1-ville.syrjala@linux.intel.com \
    --to=ville.syrjala@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    --cc=jani.nikula@intel.com \
    --cc=jouni.hogander@intel.com \
    --cc=maarten.lankhorst@linux.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