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)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 13 Dec 2022 18:22:19 +0000 (13:22 -0500)
commitb2e9e6a9cb87ce4a82fb106ae16c94639835fd47
tree2186e60bae7691f588ae664591ee4001be952010
parentd4d4c6fbae3837623708594a7499f40673fb0692
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>
(cherry picked from commit a467a243554a64b418c14d7531a3b18c03d53bff)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/display/g4x_dp.c
drivers/gpu/drm/i915/display/g4x_hdmi.c