Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo-sources-5.6.4 - CONFIG_SND_HDA_PREALLOC_SIZE ignored
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Nheghathivhistha
n00b
n00b


Joined: 18 Jan 2014
Posts: 11

PostPosted: Tue Apr 14, 2020 3:22 pm    Post subject: Gentoo-sources-5.6.4 - CONFIG_SND_HDA_PREALLOC_SIZE ignored Reply with quote

Hello.
I was rebuilding system for changed use flags after consolekit -> elogind migration and got notified by pulseaudio package
that CONFIG_SND_HDA_PREALLOC_SIZE is equal to 0.
When i set it in the .config file to 2048 and rebuilt the kernel I found it set to 0 again in the config file copied to the /boot folder.
When I tried the "make menuconfig" command the item "Pre-allocated buffer size for HD-audio driver" is not present at its usual place

Device Drivers --->
<*> Sound card support --->
<*> Advanced Linux Sound Architecture --->
(2048) Pre-allocated buffer size for HD-audio driver

Search in the built kernel tree shows the CONFIG_SND_HDA_PREALLOC_SIZE text at

./.config:CONFIG_SND_HDA_PREALLOC_SIZE=0
./include/config/auto.conf:CONFIG_SND_HDA_PREALLOC_SIZE=0
./include/generated/autoconf.h:#define CONFIG_SND_HDA_PREALLOC_SIZE 0
./sound/soc/intel/skylake/skl-pcm.c: size = CONFIG_SND_HDA_PREALLOC_SIZE * 1024;
./sound/pci/hda/hda_controller.c: size = CONFIG_SND_HDA_PREALLOC_SIZE * 1024;
./.config.old:CONFIG_SND_HDA_PREALLOC_SIZE=64

where you can see that I tried the last compilation with CONFIG_SND_HDA_PREALLOC_SIZE set to be 64.

I tried make it all modules, no change. Built in, no change.

Are you affected too, please?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45435
Location: 56N 3W

PostPosted: Tue Apr 14, 2020 3:29 pm    Post subject: Reply with quote

Nheghathivhistha,

Its a feature. Read the help on
Code:
CONFIG_SND_HDA_PREALLOC_SIZE

which should be hidden anyway.

You will need to press 'z' to be able to search for it and see it.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Nheghathivhistha
n00b
n00b


Joined: 18 Jan 2014
Posts: 11

PostPosted: Tue Apr 14, 2020 3:48 pm    Post subject: Reply with quote

Thank you!

Not knew about the 'z' functionality.


"On x86 systems, the default is zero as we need no preallocation."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum