On Thu, 27 Apr 2017 18:02:19 +0200, ville.syrjala@linux.intel.com wrote:
From: Ville Syrjälä ville.syrjala@linux.intel.com
Okay, here's the second attempt at getting multiple pipes playing back audio on the VLV/CHV HDMI LPE audio device. The main change from v1 is that now the PCM devices are associated with ports instead of pipes, so the audio from one device always gets output on the same display.
I've also tacked on the alsa-lib conf update. No clue whether it's really correct or not (the config language isn't a close friend of mine).
BTW I did notice that with LPE audio all the controls say iface=PCM, whereas on HDA a bunch of them say iface=MIXER. No idea if that's OK or not, just something I spotted when I was comparing the results with HDA.
We generally accept both iface types for IEC958 stuff, since historically many drivers have already mixed them up. So it's no problem :)
Entire series available here: git://github.com/vsyrjala/linux.git lpe_audio_multipipe_2
Cc: Takashi Iwai tiwai@suse.de Cc: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com
All look good, and feel free to take my reviewed-by tag Reviewed-by: Takashi Iwai tiwai@suse.de
As said previously, my only slight concern is the compatibility. But, in the current situation with PulseAudio, only few people would use this driver, so it shouldn't be so big impact, I suppose.
BTW, which port is used in general on BYT/CHT?
Oh, also, I suppose you want to carry these over i915 tree? I don't mind either way, I can take them through sound tree if preferred, too.
thanks,
Takashi