I've tried, as a bit of a shot in the dark, cutting out one bit of code
that seems to try to enable the audio pipe, and this does not seem to be
enough to make it reliable when the display is configured automatically.


diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index db3b461..007c68b 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -867,10 +867,14 @@ intel_dp_mode_set(struct drm_encoder *encoder, struct 
drm_display_mode *mode,
                break;
        }
        if (intel_dp->has_audio) {
-               DRM_DEBUG_DRIVER("Enabling DP audio on pipe %c\n",
-                                pipe_name(intel_crtc->pipe));
-               intel_dp->DP |= DP_AUDIO_OUTPUT_ENABLE;
-               intel_write_eld(encoder, adjusted_mode);
+               if (1) {
+                       DRM_DEBUG_DRIVER("DP audio forced off!\n");
+               } else {
+                       DRM_DEBUG_DRIVER("Enabling DP audio on pipe %c\n",
+                                       pipe_name(intel_crtc->pipe));
+                       intel_dp->DP |= DP_AUDIO_OUTPUT_ENABLE;
+                       intel_write_eld(encoder, adjusted_mode);
+               }
        }
        memset(intel_dp->link_configuration, 0, DP_LINK_CONFIGURATION_SIZE);
        intel_dp->link_configuration[0] = intel_dp->link_bw;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745112

Title:
  [arrandale] desktop is messed up with external monitors (x86_64)

To manage notifications about this bug go to:
https://bugs.launchpad.net/xserver-xorg-video-intel/+bug/745112/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to