drm/i915: Split g4x+ DP audio presence detect from port enable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 21 Nov 2023 05:43:19 +0000 (07:43 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 23 Nov 2023 12:33:17 +0000 (14:33 +0200)
commit0195e381b14fc8b16f359cbf45193bcdaaf5cd27
treea8b24a604eebf3697f992b9c60715c0ece804788
parentceb53adad7e3cb4806d5fadcd583eade32a6b915
drm/i915: Split g4x+ DP 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-7-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/g4x_dp.c