Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. config SND_HDA_CORE
  3. tristate
  4. select REGMAP
  5. config SND_HDA_DSP_LOADER
  6. bool
  7. config SND_HDA_ALIGNED_MMIO
  8. bool
  9. config SND_HDA_COMPONENT
  10. bool
  11. config SND_HDA_I915
  12. bool
  13. select SND_HDA_COMPONENT
  14. config SND_HDA_EXT_CORE
  15. tristate
  16. select SND_HDA_CORE
  17. config SND_HDA_PREALLOC_SIZE
  18. int "Pre-allocated buffer size for HD-audio driver" if !SND_DMA_SGBUF
  19. range 0 32768
  20. default 0 if SND_DMA_SGBUF
  21. default 64 if !SND_DMA_SGBUF
  22. help
  23. Specifies the default pre-allocated buffer-size in kB for the
  24. HD-audio driver. A larger buffer (e.g. 2048) is preferred
  25. for systems using PulseAudio. The default 64 is chosen just
  26. for compatibility reasons.
  27. On x86 systems, the default is zero as we need no preallocation.
  28. Note that the pre-allocation size can be changed dynamically
  29. via a proc file (/proc/asound/card*/pcm*/sub*/prealloc), too.
  30. config SND_INTEL_NHLT
  31. bool
  32. # this config should be selected only for Intel ACPI platforms.
  33. # A fallback is provided so that the code compiles in all cases.
  34. config SND_INTEL_DSP_CONFIG
  35. tristate
  36. select SND_INTEL_NHLT if ACPI
  37. select SND_INTEL_SOUNDWIRE_ACPI if ACPI
  38. # this config should be selected only for Intel DSP platforms.
  39. # A fallback is provided so that the code compiles in all cases.
  40. config SND_INTEL_SOUNDWIRE_ACPI
  41. tristate
  42. config SND_INTEL_BYT_PREFER_SOF
  43. bool "Prefer SOF driver over SST on BY/CHT platforms"
  44. depends on SND_SST_ATOM_HIFI2_PLATFORM_ACPI && SND_SOC_SOF_BAYTRAIL
  45. default n
  46. help
  47. The kernel has 2 drivers for the Low Power Engine audio-block on
  48. Bay- and Cherry-Trail SoCs. The old SST driver and the new SOF
  49. driver. If both drivers are enabled then the kernel will default
  50. to using the old SST driver, unless told otherwise through the
  51. snd_intel_dspcfg.dsp_driver module-parameter.
  52. Set this option to Y to make the kernel default to the new SOF
  53. driver instead.