[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-11 Thread Mark Brown
On Sun, May 10, 2015 at 08:33:20PM +0100, Russell King - ARM Linux wrote: > My personal view is that where we're dealing with PCM audio, the driver > needs to set these bits correctly as there is nothing in userspace to > do this. This provides an identical interface between each audio device > w

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-10 Thread Anssi Hannula
10.05.2015, 22:33, Russell King - ARM Linux kirjoitti: > On Sun, May 10, 2015 at 09:59:42PM +0300, Anssi Hannula wrote: >> What I'd like to see is arrive at some sort of general consensus on how >> the AES bits should be handled (i.e. should the driver always set them >> themselves and disallow/all

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-10 Thread Anssi Hannula
09.05.2015, 21:11, Russell King - ARM Linux kirjoitti: > On Sat, May 09, 2015 at 08:55:10PM +0300, Anssi Hannula wrote: >> 09.05.2015, 20:40, Russell King - ARM Linux kirjoitti: >>> Even VLC _doesn't_ if it's outputting to a standard audio - in other >>> words, if you don't tick the SPDIF direct ou

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-10 Thread Russell King - ARM Linux
On Sun, May 10, 2015 at 09:59:42PM +0300, Anssi Hannula wrote: > I wonder whether receivers actually care with HDMI (they generally don't > with S/PDIF) - that's one tidbit for me to test later... But of course > it doesn't change much with the matter at hand, in any case we should > strive to get

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Anssi Hannula
09.05.2015, 20:40, Russell King - ARM Linux kirjoitti: > On Sat, May 09, 2015 at 08:07:45PM +0300, Anssi Hannula wrote: >> 09.05.2015, 19:55, Russell King - ARM Linux kirjoitti: >>> On Sat, May 09, 2015 at 07:49:44PM +0300, Anssi Hannula wrote: (Of course having userspace set them requires tha

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Anssi Hannula
09.05.2015, 19:55, Russell King - ARM Linux kirjoitti: > On Sat, May 09, 2015 at 07:49:44PM +0300, Anssi Hannula wrote: >> (Of course having userspace set them requires that the device has a >> proper entry in /usr/share/alsa/cards and the pcm device is accessed via >> the standard "hdmi" or "iec95

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Anssi Hannula
Hi, A couple of things I noticed below: 09.05.2015, 13:26, Russell King kirjoitti: > Add ALSA based HDMI AHB audio driver for dw_hdmi. The only buffer > format supported by the hardware is its own special IEC958 based format, > which is not compatible with any ALSA format. To avoid doing too mu

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Russell King - ARM Linux
On Sat, May 09, 2015 at 08:55:10PM +0300, Anssi Hannula wrote: > 09.05.2015, 20:40, Russell King - ARM Linux kirjoitti: > > Even VLC _doesn't_ if it's outputting to a standard audio - in other > > words, if you don't tick the SPDIF direct output option which defaults > > to disabled (which, when en

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Russell King - ARM Linux
On Sat, May 09, 2015 at 06:40:54PM +0100, Russell King - ARM Linux wrote: > Even VLC _doesn't_ if it's outputting to a standard audio - in other > words, if you don't tick the SPDIF direct output option which defaults > to disabled (which, when enabled, opens the device passing the AES > bits _and_

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Russell King - ARM Linux
On Sat, May 09, 2015 at 08:07:45PM +0300, Anssi Hannula wrote: > 09.05.2015, 19:55, Russell King - ARM Linux kirjoitti: > > On Sat, May 09, 2015 at 07:49:44PM +0300, Anssi Hannula wrote: > >> (Of course having userspace set them requires that the device has a > >> proper entry in /usr/share/alsa/ca

[alsa-devel] [PATCH 12/13] drm: bridge/dw_hdmi-ahb-audio: add audio driver

2015-05-09 Thread Russell King - ARM Linux
On Sat, May 09, 2015 at 07:49:44PM +0300, Anssi Hannula wrote: > (Of course having userspace set them requires that the device has a > proper entry in /usr/share/alsa/cards and the pcm device is accessed via > the standard "hdmi" or "iec958" device names which perform the channel > status word setu