[PATCH] ASoC: hdac_hdmi : Ensuring proper setting of output widget power state

2018-02-15 Thread abhijeet . kumar
From: Abhijeet Kumar In usecases like hot plug-unplug DP panel or modeset during a playback, sometimes we observe no audio after codec resets. During no audio condition, we have noticed that the power state of the pin or the connector is D3. Optimizing the way we set

[PATCH] ASoC: hdac_hdmi : Ensuring proper setting of output widget power state

2018-02-15 Thread abhijeet . kumar
From: Abhijeet Kumar In usecases like hot plug-unplug DP panel or modeset during a playback, sometimes we observe no audio after codec resets. During no audio condition, we have noticed that the power state of the pin or the connector is D3. Optimizing the way we set the power mitigates the

Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Takashi Iwai
On Fri, 12 Jan 2018 11:37:28 +0100, Kumar, Abhijeet wrote: > > > It's better, but doesn't guarantee that the node reached the given power > > state. codec_read assures that the verb is sent and the codec gives the > > response. But it means only the target state gets updated, and doesn't > >

Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Takashi Iwai
On Fri, 12 Jan 2018 11:37:28 +0100, Kumar, Abhijeet wrote: > > > It's better, but doesn't guarantee that the node reached the given power > > state. codec_read assures that the verb is sent and the codec gives the > > response. But it means only the target state gets updated, and doesn't > >

RE: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Kumar, Abhijeet
> It's better, but doesn't guarantee that the node reached the given power > state. codec_read assures that the verb is sent and the codec gives the > response. But it means only the target state gets updated, and doesn't mean > that the actual state reached. Thanks Takashi for replying. I

RE: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Kumar, Abhijeet
> It's better, but doesn't guarantee that the node reached the given power > state. codec_read assures that the verb is sent and the codec gives the > response. But it means only the target state gets updated, and doesn't mean > that the actual state reached. Thanks Takashi for replying. I

Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Takashi Iwai
On Fri, 12 Jan 2018 09:25:54 +0100, Kumar, Abhijeet wrote: > > > > On 1/12/2018 11:16 AM, Vinod Koul wrote: > > On Thu, Jan 11, 2018 at 05:04:27PM +0530, abhijeet.ku...@intel.com wrote: > >> From: Abhijeet Kumar > >> > >> When we change the resolution of DP pannel

Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Takashi Iwai
On Fri, 12 Jan 2018 09:25:54 +0100, Kumar, Abhijeet wrote: > > > > On 1/12/2018 11:16 AM, Vinod Koul wrote: > > On Thu, Jan 11, 2018 at 05:04:27PM +0530, abhijeet.ku...@intel.com wrote: > >> From: Abhijeet Kumar > >> > >> When we change the resolution of DP pannel or hot plug-unplug it while

RE: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Kumar, Abhijeet
.com>; Kp, Jeeja <jeeja...@intel.com>; Prusty, Subhransu S <subhransu.s.pru...@intel.com>; Singh, Guneshwor O <guneshwor.o.si...@intel.com>; Tayal, SandeepX <sandeepx.ta...@intel.com>; alsa-de...@alsa-project.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] ASoC:

RE: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-12 Thread Kumar, Abhijeet
nel@vger.kernel.org Subject: Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state On Thu, Jan 11, 2018 at 05:04:27PM +0530, abhijeet.ku...@intel.com wrote: > From: Abhijeet Kumar > > When we change the resolution of DP pannel or hot plug-unplug it while >

Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-11 Thread Vinod Koul
On Thu, Jan 11, 2018 at 05:04:27PM +0530, abhijeet.ku...@intel.com wrote: > From: Abhijeet Kumar > > When we change the resolution of DP pannel or hot plug-unplug it while > playing an audio clip,sometimes we observe a silent playback(no audio). can you rephrase this

Re: [PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-11 Thread Vinod Koul
On Thu, Jan 11, 2018 at 05:04:27PM +0530, abhijeet.ku...@intel.com wrote: > From: Abhijeet Kumar > > When we change the resolution of DP pannel or hot plug-unplug it while > playing an audio clip,sometimes we observe a silent playback(no audio). can you rephrase this please > During no audio

[PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-11 Thread abhijeet . kumar
From: Abhijeet Kumar When we change the resolution of DP pannel or hot plug-unplug it while playing an audio clip,sometimes we observe a silent playback(no audio). During no audio condition, we have noticed that the power state of the pin or the connector is D3.

[PATCH] ASoC: hdac_hdmi: Ensuring proper setting of output widget power state

2018-01-11 Thread abhijeet . kumar
From: Abhijeet Kumar When we change the resolution of DP pannel or hot plug-unplug it while playing an audio clip,sometimes we observe a silent playback(no audio). During no audio condition, we have noticed that the power state of the pin or the connector is D3. Optimzing the way we set the