Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Expose HDR status in debugfs
@ 2026-10-06  5:40 Pranay Samala
  2026-10-06  5:40 ` [PATCH v2 1/2] video/hdmi: Add hdmi_eotf_get_name() Pranay Samala
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Pranay Samala @ 2026-10-06  5:40 UTC (permalink / raw)
  To: intel-gfx, intel-xe, dri-devel
  Cc: chaitanya.kumar.borah, sameer.lattannavar, pranay.samala

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(+)

-- 
2.53.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-06 15:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-06  5:40 [PATCH v2 0/2] Expose HDR status in debugfs Pranay Samala
2026-10-06  5:40 ` [PATCH v2 1/2] video/hdmi: Add hdmi_eotf_get_name() Pranay Samala
2026-10-06  5:48   ` sashiko-bot
2026-10-06  5:40 ` [PATCH v2 2/2] drm/i915/debugfs: Add HDR status to i915_display_info Pranay Samala
2026-10-06  5:48 ` ✓ CI.KUnit: success for Expose HDR status in debugfs Patchwork
2026-10-06  6:29 ` ✓ Xe.CI.BAT: " Patchwork
2026-10-06 15:01 ` ✓ Xe.CI.FULL: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox