Skip to content

Expose HDR status in debugfs

Pranay Samala dri-devel intel-gfx intel-xe 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 0 repliesNew

Changes in v2 from the cover letter

- Move the EOTF name helper to the common hdmi code (Jani)
- Use drm_printer for indentation instead of manual tabs (Jani)
- Treat any non-SDR EOTF as HDR capable
- Print the EDID luminance only when present, in nits
- Add units to the HDR output luminance values

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2video/hdmi: Add hdmi_eotf_get_name()drivers/video/hdmi.c include/linux/hdmi.h+25 -00 replies
2/2drm/i915/debugfs: Add HDR status to i915_display_infodrivers/gpu/drm/i915/display/intel_display_debugfs.c+90 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Expose HDR status in debugfs

i915_display_info currently doesn't show whether HDR is active on a connector. This series adds per-connector HDR details in three parts:
sink capability (from the EDID), whether userspace has set HDR_OUTPUT_METADATA, and whether the driver has actually enabled HDR output.

Patch 1 adds a small hdmi_eotf_get_name() helper to video/hdmi so the EOTF can be printed by name. Patch 2 adds the debugfs output.

v2:
- Move the EOTF name helper to the common hdmi code (Jani)
- Use drm_printer for indentation instead of manual tabs (Jani)
- Treat any non-SDR EOTF as HDR capable
- Print the EDID luminance only when present, in nits
- Add units to the HDR output luminance values

Pranay Samala (2):
video/hdmi: Add hdmi_eotf_get_name() drm/i915/debugfs: Add HDR status to i915_display_info

 .../drm/i915/display/intel_display_debugfs.c  | 90 +++++++++++++++++++
 drivers/video/hdmi.c                          | 23 +++++
 include/linux/hdmi.h                          |  2 +
 3 files changed, 115 insertions(+)
Signature · 1 line
2.53.0