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

Daniel Vetter daniel at ffwll.ch
Sun Jan 29 16:14:21 CET 2012


On Sun, Jan 29, 2012 at 09:23:26PM +0800, Wu Fengguang wrote:
> > > 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

Yeah, the hunk is here, too ... Looks like I've failed with wrestling the
quilt patch a bit, sorry for the noise. But I think I've got the handle on
that now. So queued for -next, thanks for the patch.

Yours, Daniel
-- 
Daniel Vetter
Mail: daniel at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list