drm/i915: Split g4x+ HDMI audio presence detect from port enable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Nov 2023 05:43:20 +0000 (07:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 Nov 2023 12:33:20 +0000 (14:33 +0200)
commit4645e8980479a0cbfa99bdd07c562cec1597e9cd
tree56b100044ea52b0fcf46e980f9d84060f469155a
parent0195e381b14fc8b16f359cbf45193bcdaaf5cd27
drm/i915: Split g4x+ HDMI audio presence detect from port enable

Follow the hsw+ approach toggle the audio presence detect
when we set up the ELD, instead of doing it when turning the
port on/off.

This will facilitate audio enable/disable to happen during
fastsets instead of requiring a full modeset.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231121054324.9988-8-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/g4x_hdmi.c