[Intel-gfx] [PATCH 0/5] drm/i915: Fix audio/infroframes on g4x

Ville Syrjala
2022-11-07T19:46:10Z

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Currently HDMI audio/infoframes is a bit borked on g4x on account
of the hardware only having one audio/video DIP block which can't
be shared among multiple HDMI ports simultanously. Fix that by
selecting exactly one of the enabled HDMI ports for audio/infoframe
transmission.

Ville Syrjälä (5):
drm/i915: Introduce g4x_hdmi_compute_config()
drm/i915: Force RGB output for DVI sink
drm/i915: Treat HDMI as DVI when cloning
drm/i915: Move has_hdmi_sink out from intel_hdmi_compute_config()
drm/i915: Pick one HDMI port for infoframe/audio transmission on g4x

drivers/gpu/drm/i915/display/g4x_hdmi.c | 127 +++++++++++++++++++++-
drivers/gpu/drm/i915/display/g4x_hdmi.h | 4 +
drivers/gpu/drm/i915/display/intel_ddi.c | 3 +
drivers/gpu/drm/i915/display/intel_hdmi.c | 54 ++++++---
drivers/gpu/drm/i915/display/intel_hdmi.h | 3 +
5 files changed, 173 insertions(+), 18 deletions(-)

--
2.37.4