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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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>


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux