[Bug 98797] [BXT/KBL] - HDMI - HD audio passthrough dont work

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Aug 11 21:25:40 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=98797

--- Comment #98 from Igor Mammedov <qwerty0987654321 at mail.ru> ---
(In reply to Jani Nikula from comment #94)
> And for Friday lols, a complete shot in the dark:
> 
> diff --git a/drivers/gpu/drm/i915/intel_audio.c
> b/drivers/gpu/drm/i915/intel_audio.c
> index d805b6e6fe71..49e3847fcb01 100644
> --- a/drivers/gpu/drm/i915/intel_audio.c
> +++ b/drivers/gpu/drm/i915/intel_audio.c
> @@ -608,8 +608,13 @@ void intel_audio_codec_enable(struct intel_encoder
> *intel_encoder,
>  
>         /* ELD Conn_Type */
>         connector->eld[5] &= ~(3 << 2);
> -       if (intel_crtc_has_dp_encoder(crtc_state))
> -               connector->eld[5] |= (1 << 2);
> +       if (intel_crtc_has_dp_encoder(crtc_state)) {
> +               struct intel_dp *intel_dp = enc_to_intel_dp(encoder);
> +               struct intel_lspcon *lspcon = dp_to_lspcon(intel_dp);
> +
> +               if (!lspcon->active)
> +                       connector->eld[5] |= (1 << 2);
> +       }
>  
>         connector->eld[6] = drm_av_sync_delay(connector, adjusted_mode) / 2;
it doesn't help (applied both comment 93 and this patch)

one observation:
  lspcon->active = 1 when using onboard HDMI2.0
  lspcon->active = 0 when using DP->HDMI2.0 cable

in both cases cables were connected to HDMI1.4b input on AVR.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20170811/45db4e73/attachment.html>


More information about the intel-gfx-bugs mailing list