Skip to content

Add crtc i915_pipe debugfs file

Bhanuprakash Modem intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/i915/debugfs: switch crtc debugfs to struct intel_crtcdrivers/gpu/drm/i915/display/intel_crtc.c drivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/display/intel_display_debugfs.h+16 -140 replies
2/2drm/i915/debugfs: add crtc i915_pipe debugfs filedrivers/gpu/drm/i915/display/intel_display_debugfs.c+13 -00 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchVille Syrjälä
1/2
2/2R-b

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

Read the v2 thread

Cover letter [Intel-gfx] [V2 0/2] Add crtc i915_pipe debugfs file

The pipe may differ from crtc index if pipes are fused off. For testing purposes, IGT needs to know the pipe.

There's already a I915_GET_PIPE_FROM_CRTC_ID IOCTL for this. However, the upcoming Xe driver won't have that IOCTL, and going forward, we'll want a unified interface for testing i915 and Xe, as they share the display code. Thus add the debugfs for i915 display.

Test-with: [email protected]

Jani Nikula (2):
drm/i915/debugfs: switch crtc debugfs to struct intel_crtc drm/i915/debugfs: add crtc i915_pipe debugfs file

 drivers/gpu/drm/i915/display/intel_crtc.c     |  2 +-
 .../drm/i915/display/intel_display_debugfs.c  | 35 +++++++++++++------
 .../drm/i915/display/intel_display_debugfs.h  |  6 ++--
 3 files changed, 29 insertions(+), 14 deletions(-)

--
2.40.0