Re: [Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-16 Thread Imre Deak
On Thu, Aug 16, 2012 at 4:23 PM, Wang, Xingchao wrote: > > >> -Original Message- >> From: Imre Deak [mailto:imre.d...@gmail.com] >> Sent: Thursday, August 16, 2012 6:54 PM >> To: Wang, Xingchao >> Cc: dan...@ffwll.ch; intel-gfx@lists.freedesktop.org; przan...@gmail.com >> Subject: Re: [PAT

Re: [Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-16 Thread Wang, Xingchao
> -Original Message- > From: Imre Deak [mailto:imre.d...@gmail.com] > Sent: Thursday, August 16, 2012 6:54 PM > To: Wang, Xingchao > Cc: dan...@ffwll.ch; intel-gfx@lists.freedesktop.org; przan...@gmail.com > Subject: Re: [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization > > On T

Re: [Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-16 Thread Imre Deak
On Thu, Aug 16, 2012 at 6:45 AM, Wang Xingchao wrote: > On Wed, Aug 15, 2012 at 08:05:14PM +0300, Imre Deak wrote: >> On Wed, Aug 15, 2012 at 6:27 AM, Wang, Xingchao >> wrote: >> [...] >> >> + I915_WRITE(aud_cntrl_st2, tmp); >> >> + >> >> + /* Wait for 1 vertical blank */ >> >> + int

Re: [Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-15 Thread Wang Xingchao
On Wed, Aug 15, 2012 at 08:05:14PM +0300, Imre Deak wrote: > On Wed, Aug 15, 2012 at 6:27 AM, Wang, Xingchao > wrote: > > Hi Daniel/Imre, > > > > This revised version changelog: > > - add " Wait for 1 vertical blank" after enable audio output port > > - configure pipe related transcoder instead

Re: [Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-15 Thread Imre Deak
On Wed, Aug 15, 2012 at 6:27 AM, Wang, Xingchao wrote: > Hi Daniel/Imre, > > This revised version changelog: > - add " Wait for 1 vertical blank" after enable audio output port > - configure pipe related transcoder instead of operate all transcoders > blindly Thanks for the explanation. I'd ha

Re: [Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-14 Thread Wang, Xingchao
Hi Daniel/Imre, This revised version changelog: - add " Wait for 1 vertical blank" after enable audio output port - configure pipe related transcoder instead of operate all transcoders blindly Thanks --xingchao > -Original Message- > From: Wang, Xingchao > Sent: Wednesday, August 15, 2

[Intel-gfx] [PATCH v7 3/4] drm/i915: Haswell HDMI audio initialization

2012-08-14 Thread Wang Xingchao
Added new haswell_write_eld() to initialize Haswell HDMI audio registers to generate an unsolicited response to the audio controller driver to indicate that the controller sequence should start. Signed-off-by: Wang Xingchao --- drivers/gpu/drm/i915/i915_reg.h |1 + drivers/gpu/drm/i915/