]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: implement sync_audio_rate callback
authorLibin Yang <libin.yang@intel.com>
Wed, 2 Sep 2015 06:11:39 +0000 (14:11 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 25 Sep 2015 08:04:53 +0000 (10:04 +0200)
commite99ea15461e829bc1f598fbd19127a6741e173bf
tree7f9e4e8391345f86ba5e63be5a7e6257840bcb5f
parent898121601cbe18fcc183afdb7ac1126e34c7d27d
drm/i915: implement sync_audio_rate callback

HDMI audio may not work at some frequencies
with the HW provided N/CTS.

This patch sets the proper N value for the
given audio sample rate at the impacted frequencies.
At other frequencies, it will use the N/CTS value
which HW provides.

Signed-off-by: Libin Yang <libin.yang@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_audio.c