[PATCH 00/11] Add support for SCDC Read Request

Ankit Nautiyal ankit.k.nautiyal at intel.com
Wed Mar 9 06:47:31 UTC 2022


This series adds support for SCDC read request, which is used
to get updates from HDMI sink like link state, errors detected, etc.
If source and sink both support SCDC Read request, sink can notify the
source device, when there is a change in SCDC update flags. Source on
receiving the notification is suppose to read the update flags.
Currently, support is added for Gen>=11.
TODO: Add the support for previous platforms also, that support
SCDC_RR.

Ankit Nautiyal (11):
  drm/drm_scdc_helper: Add SCDC helper funcs for reading SCDC_RR updates
  drm/i915: Add SCDC RR Interrupt Registers
  drm/i915: Initialize SCDC helper structures
  drm/i915: Add support to identify the SCDC Interrupt from IIR
  drm/i915: Enable SCDC RR Interrupt in the IER
  drm/i915/gmbus: Add support to store scdc port in gmbus struct
  drm/i915/gmbus: Set SCDC_RR interrupt during GPIO xfers
  drm/i915/gmbus: Unmask GPIO pins for SCDC communication
  drm/i915/hdmi: Set/Reset SCDC port while set/unset edid
  drm/i915: Add helper funcs to read SCDC updates
  drm/i915: Add SCDC Read Request Interrupt handler

 drivers/gpu/drm/drm_scdc_helper.c            | 129 +++++++++++++++
 drivers/gpu/drm/i915/display/intel_display.c |  29 ++++
 drivers/gpu/drm/i915/display/intel_gmbus.c   |  88 ++++++++++
 drivers/gpu/drm/i915/display/intel_gmbus.h   |   3 +
 drivers/gpu/drm/i915/display/intel_hdmi.c    |  88 ++++++++++
 drivers/gpu/drm/i915/display/intel_hdmi.h    |   3 +
 drivers/gpu/drm/i915/i915_drv.h              |  35 ++++
 drivers/gpu/drm/i915/i915_irq.c              | 162 +++++++++++++++++++
 drivers/gpu/drm/i915/i915_irq.h              |   2 +
 drivers/gpu/drm/i915/i915_reg.h              |  14 ++
 include/drm/drm_scdc_helper.h                |   5 +
 11 files changed, 558 insertions(+)

-- 
2.25.1



More information about the Intel-gfx-trybot mailing list