linux-stable/sound/pci/hda
Takashi Iwai 675f25d4d3 ALSA: hda - Add bdl_pos_adj option
Added a new option, bdl_pos_adj, to adjust the delay of IRQ-wakeup
timing.

Most HD-audio hardwares have a problem that a BDL IRQ is issued before
actually the data and the DMA pointer are updated.
We have already a mechanism to force to delay snd_pcm_period_elapsed()
calls via workq, but this costs much CPU, and typically the delay is
within one sample.  Thus, it's more clever to adjust the BDL entries
instead.

The new option adds the size of the delay in frames.  As default,
it's set to 1 -- that is, one sample delay.  Even the hardware is
really correct, one sample delay is relatively harmless in comparison
with reporting wrong positions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-06-13 16:30:20 +02:00
..
hda_codec.c [ALSA] Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE 2008-05-27 15:56:21 +02:00
hda_codec.h [ALSA] hda-codec - keep the format verb at closing PCM streams 2008-04-24 12:00:26 +02:00
hda_generic.c [ALSA] hda-codec - keep the format verb at closing PCM streams 2008-04-24 12:00:26 +02:00
hda_hwdep.c [ALSA] Replace CONFIG_SND_DEBUG_DETECT with CONFIG_SND_DEBUG_VERBOSE 2008-05-27 15:56:21 +02:00
hda_intel.c ALSA: hda - Add bdl_pos_adj option 2008-06-13 16:30:20 +02:00
hda_local.h [ALSA] Move vmaster code to sound core 2008-04-24 12:00:12 +02:00
hda_patch.h [ALSA] sound: hda: missing includes of hda_patch.h 2008-04-24 12:00:19 +02:00
hda_proc.c [ALSA] hda-codec - Fix amp-in values for pin widgets 2008-02-22 14:20:09 -08:00
Makefile [ALSA] Keep private TLV entry in vmaster itself 2008-04-24 12:00:12 +02:00
patch_analog.c [ALSA] hda - Fix mic input on HP2133 2008-05-30 16:22:10 +02:00
patch_atihdmi.c [ALSA] sound: hda: missing includes of hda_patch.h 2008-04-24 12:00:19 +02:00
patch_cmedia.c [ALSA] hda - Fix model for LG LS75 laptop 2008-05-30 16:56:00 +02:00
patch_conexant.c [ALSA] hda-codec - keep the format verb at closing PCM streams 2008-04-24 12:00:26 +02:00
patch_realtek.c [ALSA] hda - Add Toshiba dynabook SS RX1 support 2008-06-13 16:29:33 +02:00
patch_si3054.c [ALSA] sound: hda: missing includes of hda_patch.h 2008-04-24 12:00:19 +02:00
patch_sigmatel.c [ALSA] hda - Fix capture mute Widget for stac9250/9251 2008-05-25 18:21:18 +02:00
patch_via.c [ALSA] hda - Fix noise on VT1708 codec 2008-05-24 18:23:35 +02:00