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

Daniel Vetter daniel at ffwll.ch
Sun Jan 29 13:12:02 CET 2012


On Sun, Jan 29, 2012 at 05:44, Wu Fengguang <fengguang.wu at intel.com> 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 at suse.com>
> Signed-off-by: Wu Fengguang <fengguang.wu at intel.com>
> ---
>  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 at ffwll.ch - +41 (0) 79 364 57 48 - http://blog.ffwll.ch



More information about the Intel-gfx mailing list