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

From: Daniel Vetter
Date: Sun Jan 29 2012 - 07:12:37 EST


On Sun, Jan 29, 2012 at 05:44, Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote:
> It should be programmed to "0" for HDMI or "1" for DisplayPort.
>
> This enables DisplayPort audio for
>
> - HP EliteBook 8460p
>  (whose BIOS does not set the N_value_index bit for us)
>
> - DisplayPort monitor hot plugged after boot
>  (otherwise most BIOS will fill the N_value_index bit for us)
>
> Tested-by: Robert Lemaire <rlemaire@xxxxxxxx>
> Signed-off-by: Wu Fengguang <fengguang.wu@xxxxxxxxx>
> ---
>  drivers/gpu/drm/i915/i915_reg.h      |   12 ++++++++++++
>  drivers/gpu/drm/i915/intel_display.c |    8 +++++++-
>  2 files changed, 19 insertions(+), 1 deletion(-)
>
>> I've tried to apply this patch but it has a conflict in i915_reg.h (with
>> the SOL reset stuff). Care to rebase and resend? Also, git patches as
>> produced by git format-patch highly preferred.
>
> 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?

Thanks, Daniel
--
Daniel Vetter
daniel.vetter@xxxxxxxx - +41 (0) 79 364 57 48 - http://blog.ffwll.ch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/