[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-28 Thread Daniel Vetter
On Wed, May 27, 2015 at 10:44:40PM +0100, Russell King - ARM Linux wrote: > On Wed, May 27, 2015 at 11:29:52PM +0200, Daniel Vetter wrote: > > The only issue that might be > > there with your sw approach is that a concurrent probe/hotplug in drm > > might free the edid and hence the eld, while the

[alsa-devel] [PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-28 Thread Takashi Iwai
At Wed, 27 May 2015 18:31:25 +0100, Russell King - ARM Linux wrote: > > On Wed, May 27, 2015 at 12:43:08PM +0200, Daniel Vetter wrote: > > On Sat, May 09, 2015 at 11:26:57AM +0100, Russell King wrote: > > > Parse the ELD (EDID like data) stored from the HDMI driver to restrict > > > the sample

[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-28 Thread Daniel Vetter
On Wed, May 27, 2015 at 7:31 PM, Russell King - ARM Linux wrote: > On Wed, May 27, 2015 at 12:43:08PM +0200, Daniel Vetter wrote: >> On Sat, May 09, 2015 at 11:26:57AM +0100, Russell King wrote: >> > Parse the ELD (EDID like data) stored from the HDMI driver to restrict >> > the sample rates and

[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-27 Thread Russell King - ARM Linux
On Wed, May 27, 2015 at 11:29:52PM +0200, Daniel Vetter wrote: > The only issue that might be > there with your sw approach is that a concurrent probe/hotplug in drm > might free the edid and hence the eld, while the snd side is trying to > copy that. Talking only about the particular case of

[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-27 Thread Russell King - ARM Linux
On Wed, May 27, 2015 at 12:43:08PM +0200, Daniel Vetter wrote: > On Sat, May 09, 2015 at 11:26:57AM +0100, Russell King wrote: > > Parse the ELD (EDID like data) stored from the HDMI driver to restrict > > the sample rates and channels which are available to ALSA. This causes > > the ALSA device

[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-27 Thread Mark Brown
On Wed, May 27, 2015 at 12:43:08PM +0200, Daniel Vetter wrote: > Just curious questions really, I probably don't understand what's exactly > going on. But I do think that we need a more formal way for drm/snd to > talk to each another (i915 is growing quite a few hairy things in that > area

[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-27 Thread Daniel Vetter
On Sat, May 09, 2015 at 11:26:57AM +0100, Russell King wrote: > Parse the ELD (EDID like data) stored from the HDMI driver to restrict > the sample rates and channels which are available to ALSA. This causes > the ALSA device to reflect the capabilities of the overall audio path, > not just what

[PATCH 13/13] drm: bridge/dw_hdmi-ahb-audio: parse ELD from HDMI driver

2015-05-09 Thread Russell King
Parse the ELD (EDID like data) stored from the HDMI driver to restrict the sample rates and channels which are available to ALSA. This causes the ALSA device to reflect the capabilities of the overall audio path, not just what is supported at the HDMI source interface level. Signed-off-by: