mbox series

[0/2] Expose crtc dither state and connector max bpc via debugfs

Message ID 20200720194127.24750-1-bhanuprakash.modem@intel.com (mailing list archive)
Headers show
Series Expose crtc dither state and connector max bpc via debugfs | expand

Message

Modem, Bhanuprakash July 20, 2020, 7:41 p.m. UTC
[why]
It's useful to know the max supported panel BPC and PIPE dither state
for IGT testing.

[how]
* Expose the connector max supported BPC for the panel via a debugfs file on the
  connector, "output_bpc".
  Example: cat /sys/kernel/debug/dri/0/DP-1/output_bpc

* Expose the dithering state for the crtc via a debugfs file "dither".
  Example: cat /sys/kernel/debug/dri/0/crtc-0/dither

Test-with: 20200720165011.23918-1-bhanuprakash.modem@intel.com 

Bhanuprakash Modem (2):
  i915/debug: Expose crtc dither state via debugfs
  i915/debug: Expose Max BPC info via debugfs

 .../drm/i915/display/intel_display_debugfs.c    | 17 +++++++++++++++++
 drivers/gpu/drm/i915/i915_debugfs.c             | 17 +++++++++++++++++
 2 files changed, 34 insertions(+)