Skip to content

drm/i915/reset: Expose "display_reset_count" in debugfs

Ville Syrjala intel-gfx intel-xe 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest posting 2/27 patches 2 repliesIn review
  2. v3 posting 1/21 of 5 patches 0 repliesSuperseded
  3. v25 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches3 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/i915: Clear i915->display when no longer validdrivers/gpu/drm/i915/i915_driver.c drivers/gpu/drm/i915/selftests/mock_gem_device.c+2 -01 reply
2/7drm/xe: Clear xe->display when no longer validdrivers/gpu/drm/xe/display/xe_display.c+7 -61 reply
3/7drm/i915/reset: Reorganize display reset codedrivers/gpu/drm/i915/display/intel_display_reset.c drivers/gpu/drm/i915/display/intel_display_reset.h drivers/gpu/drm/i915/gt/intel_reset.c+20 -190 replies
4/7drm/i915/reset: Move pending_fb_pin handling to i915drivers/gpu/drm/i915/display/intel_display_core.h drivers/gpu/drm/i915/display/intel_display_reset.c drivers/gpu/drm/i915/display/intel_display_reset.h +6 more+28 -380 replies
5/7drm/xe/display: Add init_clock_gating.h stubsdrivers/gpu/drm/i915/display/intel_display_power.c drivers/gpu/drm/xe/compat-i915-headers/intel_clock_gating.h+9 -30 replies
6/7drm/i915/reset: Add "display_reset_count" debugfs filedrivers/gpu/drm/i915/display/intel_display_core.h drivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/display/intel_display_reset.c +2 more+19 -00 replies
7/7drm/i915/reset: Disable execlist per-engine reset for display reset testsdrivers/gpu/drm/i915/gt/intel_reset.c+6 -30 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchJani Nikula
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/7] drm/i915/reset: Expose "display_reset_count" in debugfs

From: Ville Syrjälä <[email protected]>

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 <[email protected]>
Cc Jouni Högander <[email protected]>
Cc Maarten Lankhorst <[email protected]>

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(-)
Signature · 1 line
2.52.0