mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 05:43:47 +07:00
d39513f851
Since this is common option for HDA driver to specfiy pre-allocated buffer, we should make this option availble to all HDA driver by moving this to HDA core Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
30 lines
697 B
Plaintext
30 lines
697 B
Plaintext
config SND_HDA_CORE
|
|
tristate
|
|
select REGMAP
|
|
|
|
config SND_HDA_DSP_LOADER
|
|
bool
|
|
|
|
config SND_HDA_I915
|
|
bool
|
|
default y
|
|
depends on DRM_I915
|
|
depends on SND_HDA_CORE
|
|
|
|
config SND_HDA_EXT_CORE
|
|
tristate
|
|
select SND_HDA_CORE
|
|
|
|
config SND_HDA_PREALLOC_SIZE
|
|
int "Pre-allocated buffer size for HD-audio driver"
|
|
range 0 32768
|
|
default 64
|
|
help
|
|
Specifies the default pre-allocated buffer-size in kB for the
|
|
HD-audio driver. A larger buffer (e.g. 2048) is preferred
|
|
for systems using PulseAudio. The default 64 is chosen just
|
|
for compatibility reasons.
|
|
|
|
Note that the pre-allocation size can be changed dynamically
|
|
via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
|