[PATCH v2 0/5] drm/i915/reset: Expose "display_reset_count" in debugfs

Ville Syrjala
2026-04-14T14:22:54Z

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

Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Jouni Högander <jouni.hogander@intel.com>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Test-with: 20260413084545.2491-1-ville.syrjala@linux.intel.com

Ville Syrjälä (5):
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_drv.h | 2 +
drivers/gpu/drm/i915/i915_fb_pin.c | 9 ++---
drivers/gpu/drm/i915/i915_overlay.c | 6 +++
drivers/gpu/drm/xe/Makefile | 1 +
.../compat-i915-headers/intel_clock_gating.h | 10 ++++-
13 files changed, 77 insertions(+), 58 deletions(-)

--
2.52.0