Expose HDR status in debugfs
Get series with b4
b4 am [email protected]Versions newest first
- 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 files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | video/hdmi: Add hdmi_eotf_get_name()drivers/ include/ | +25 | 0 replies | |
| 2/2 | drm/i915/debugfs: Add HDR status to i915_display_infodrivers/ | +90 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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