Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 17:49:43 +0100, Daniel Vetter wrote: > > On Fri, Dec 04, 2015 at 05:27:12PM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 17:20:15 +0100, > > Takashi Iwai wrote: > > > > > > On Fri, 04 Dec 2015 17:15:59 +0100, > > > Daniel Vetter wrote: > > > > > > > > On Fri, Dec 04, 20

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 05:27:12PM +0100, Takashi Iwai wrote: > On Fri, 04 Dec 2015 17:20:15 +0100, > Takashi Iwai wrote: > > > > On Fri, 04 Dec 2015 17:15:59 +0100, > > Daniel Vetter wrote: > > > > > > On Fri, Dec 04, 2015 at 05:03:55PM +0100, Takashi Iwai wrote: > > > > On Fri, 04 Dec 2015 16:5

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 17:20:15 +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 17:15:59 +0100, > Daniel Vetter wrote: > > > > On Fri, Dec 04, 2015 at 05:03:55PM +0100, Takashi Iwai wrote: > > > On Fri, 04 Dec 2015 16:54:32 +0100, > > > Daniel Vetter wrote: > > > > > > > > On Fri, Dec 04, 2015 a

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 17:15:59 +0100, Daniel Vetter wrote: > > On Fri, Dec 04, 2015 at 05:03:55PM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 16:54:32 +0100, > > Daniel Vetter wrote: > > > > > > On Fri, Dec 04, 2015 at 04:15:24PM +0100, Takashi Iwai wrote: > > > > diff --git a/include/drm/i9

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 05:03:55PM +0100, Takashi Iwai wrote: > On Fri, 04 Dec 2015 16:54:32 +0100, > Daniel Vetter wrote: > > > > On Fri, Dec 04, 2015 at 04:15:24PM +0100, Takashi Iwai wrote: > > > diff --git a/include/drm/i915_component.h b/include/drm/i915_component.h > > > index 30d89e0da2c6..

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 16:54:32 +0100, Daniel Vetter wrote: > > On Fri, Dec 04, 2015 at 04:15:24PM +0100, Takashi Iwai wrote: > > diff --git a/include/drm/i915_component.h b/include/drm/i915_component.h > > index 30d89e0da2c6..058d39e8d57f 100644 > > --- a/include/drm/i915_component.h > > +++ b/inclu

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 16:53:02 +0100, Daniel Vetter wrote: > > On Fri, Dec 04, 2015 at 04:15:24PM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 16:00:46 +0100, > > Daniel Vetter wrote: > > > > > > On Fri, Dec 04, 2015 at 11:49:46AM +0100, Takashi Iwai wrote: > > > > On Fri, 04 Dec 2015 11:21:0

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 04:15:24PM +0100, Takashi Iwai wrote: > diff --git a/include/drm/i915_component.h b/include/drm/i915_component.h > index 30d89e0da2c6..058d39e8d57f 100644 > --- a/include/drm/i915_component.h > +++ b/include/drm/i915_component.h > @@ -38,6 +38,7 @@ > * @codec_wake_override

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 04:15:24PM +0100, Takashi Iwai wrote: > On Fri, 04 Dec 2015 16:00:46 +0100, > Daniel Vetter wrote: > > > > On Fri, Dec 04, 2015 at 11:49:46AM +0100, Takashi Iwai wrote: > > > On Fri, 04 Dec 2015 11:21:02 +0100, > > > Daniel Vetter wrote: > > > > > > > > On Tue, Dec 01, 201

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 16:00:46 +0100, Daniel Vetter wrote: > > On Fri, Dec 04, 2015 at 11:49:46AM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 11:21:02 +0100, > > Daniel Vetter wrote: > > > > > > On Tue, Dec 01, 2015 at 05:09:51PM +0100, Takashi Iwai wrote: > > > > Implement a new i915_audio_

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Daniel Vetter
On Fri, Dec 04, 2015 at 11:49:46AM +0100, Takashi Iwai wrote: > On Fri, 04 Dec 2015 11:21:02 +0100, > Daniel Vetter wrote: > > > > On Tue, Dec 01, 2015 at 05:09:51PM +0100, Takashi Iwai wrote: > > > Implement a new i915_audio_component_ops, get_eld(). It's called by > > > the audio driver to fetc

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 13:10:01 +0100, Ville Syrjälä wrote: > > On Fri, Dec 04, 2015 at 11:49:46AM +0100, Takashi Iwai wrote: > > On Fri, 04 Dec 2015 11:21:02 +0100, > > Daniel Vetter wrote: > > > > > > On Tue, Dec 01, 2015 at 05:09:51PM +0100, Takashi Iwai wrote: > > > > Implement a new i915_audio_

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Ville Syrjälä
On Fri, Dec 04, 2015 at 11:49:46AM +0100, Takashi Iwai wrote: > On Fri, 04 Dec 2015 11:21:02 +0100, > Daniel Vetter wrote: > > > > On Tue, Dec 01, 2015 at 05:09:51PM +0100, Takashi Iwai wrote: > > > Implement a new i915_audio_component_ops, get_eld(). It's called by > > > the audio driver to fetc

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Takashi Iwai
On Fri, 04 Dec 2015 11:21:02 +0100, Daniel Vetter wrote: > > On Tue, Dec 01, 2015 at 05:09:51PM +0100, Takashi Iwai wrote: > > Implement a new i915_audio_component_ops, get_eld(). It's called by > > the audio driver to fetch the current audio status and ELD of the > > given HDMI/DP port. It retu

Re: [Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-04 Thread Daniel Vetter
On Tue, Dec 01, 2015 at 05:09:51PM +0100, Takashi Iwai wrote: > Implement a new i915_audio_component_ops, get_eld(). It's called by > the audio driver to fetch the current audio status and ELD of the > given HDMI/DP port. It returns the size of expected ELD bytes if it's > valid, zero if no valid

[Intel-gfx] [PATCH v2 2/9] drm/i915: Add get_eld audio component

2015-12-01 Thread Takashi Iwai
Implement a new i915_audio_component_ops, get_eld(). It's called by the audio driver to fetch the current audio status and ELD of the given HDMI/DP port. It returns the size of expected ELD bytes if it's valid, zero if no valid ELD is found, or a negative error code. The current state of audio o