On Thu, 4 Aug 2011 17:40:24 +0800, Wu Fengguang <fengguang.wu@xxxxxxxxx> wrote: > Right. I actually have this chunk. dmesg shows that in intel_hdmi_detect(), > the drm_encoder object is there, however encoder->crtc is NULL at the > time. Correct. encoder->crtc is set only when the output is active. > You may wonder why the mode parameter is needed in intel_write_eld(). > This is because the ELD field aud_synch_delay (ie. A/V sync delay) may > have different values in progressive/interleaved display modes. Ok, so you can't write ELD data until the display is active, which happens at mode_set time. Do you need to provide ELD when the display is inactive? Is this only to enable audio output when the display is not on? In that case, we will need to essentially turn enough of the output on to allow for audio data, picking a mode which provide sufficient bandwidth. > I tested Ivybridge yesterday and ironlake_write_eld seems to not work > properly for Ivybridge. Need to double check its spec. That's unfortunate... -- keith.packard@xxxxxxxxx
Attachment:
pgpBfBH5dv3he.pgp
Description: PGP signature
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel