drm/i915: Fix VLV/CHV HDMI/DP audio enable
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 7 Dec 2022 22:52:19 +0000 (00:52 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 8 Dec 2022 17:57:23 +0000 (19:57 +0200)
commita467a243554a64b418c14d7531a3b18c03d53bff
tree0bdfabe456e7a8e9c6dd86c057db05f48ef0632a
parent42bbdb81965606a270ec05165bf2b6d074686332
drm/i915: Fix VLV/CHV HDMI/DP audio enable

Despite what I claimed in commit c3c5dc1d9224
("drm/i915/audio: Do the vblank waits") the vblank
interrupts are in fact not enabled yet when we do the
audio enable sequence on VLV/CHV (all other platforms are
fine).

Reorder the enable sequence on VLV/CHV to match that of the
other platforms so that the audio enable happens after the
pipe has been enabled.

Fixes: c3c5dc1d9224 ("drm/i915/audio: Do the vblank waits")
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221207225219.29060-1-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/g4x_dp.c
drivers/gpu/drm/i915/display/g4x_hdmi.c