[Intel-gfx] [PATCH][rebased] drm/i915: set AUD_CONFIG N_value_index for DisplayPort

Wu Fengguang fengguang.wu at intel.com
Sun Jan 29 14:23:26 CET 2012


> > Daniel, this is now based on linux-next. I use quilt, hope it also
> > works for you :)
> 
> On a quick check this patch is missing the hunk to actually write the
> aud configuration into the register. I presume that's not intentional,
> so can you please resend?

This is weird, my outbox has the below chunk. Anyway here is the
attached patch.

@@ -6107,7 +6111,9 @@ static void ironlake_write_eld(struct dr
        if (intel_pipe_has_type(crtc, INTEL_OUTPUT_DISPLAYPORT)) {
                DRM_DEBUG_DRIVER("ELD: DisplayPort detected\n");
                eld[5] |= (1 << 2);     /* Conn_Type, 0x1 = DisplayPort */
-       }
+               I915_WRITE(aud_config, AUD_CONFIG_N_VALUE_INDEX); /* 0x1 = DP */
+       } else
+               I915_WRITE(aud_config, 0);
        
Thanks,
Fengguang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: displayport-AUD_CONFIG-N_value_index.patch
Type: text/x-diff
Size: 2787 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120129/cb62c310/attachment.patch>


More information about the Intel-gfx mailing list