[V2 0/2] Add crtc i915_pipe debugfs file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: 20230317165044.2616573-1-bhanuprakash.modem@xxxxxxxxx

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux