ALSA: hda: program stripe bits for controller
authorSameer Pujar <spujar@nvidia.com>
Mon, 14 Jan 2019 18:21:11 +0000 (23:51 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 14 Jan 2019 18:52:28 +0000 (19:52 +0100)
commit9b6f7e7a296e17990aae298c809b001e99ddd151
treefecb9b477ccba5965b03e6418add0157a80fa029
parentb59c8e7a73160b11f99b9008a5f215dd54b9d581
ALSA: hda: program stripe bits for controller

Platforms having multiple SORs and hdmi/dp sinks require higher
bandwidth to support simultaneous playbacks of higher resolution.
If hda controller supports multiple SDO lines, STRIPE can be used
to indicate how many of the SDO lines the stream should be striped
across.

During stream start stripe control bits are programmed to use given
number of sdo lines and the same is cleared during stream stop.

Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_stream.c