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

Keith Packard keithp at keithp.com
Thu Jan 12 18:33:34 CET 2012


On Tue, 10 Jan 2012 13:45:19 +0800, Wu Fengguang <fengguang.wu at intel.com> wrote:

> @@ -5943,6 +5947,7 @@ 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 */
>  	}

Do we need to clear this bit in the HDMI case? Or do we just trust the
BIOS to either leave this bit zero or set it correctly?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120112/78a2d0e3/attachment.sig>


More information about the Intel-gfx mailing list