Comment 0 for bug 1888166

Revision history for this message
Hui Wang (hui.wang) wrote : soc/amd/renoir: change the module name to mke it work with ucm3

For focal and oem-5.6 kernel, these all 5 patches are needed, for
groovy kernel, since the 1st patch is already in the 5.8 kernel, the
groovy kernel only needs the last 3 patches [3/5, 4/5 and 5/5].

[Impact]
the alsa upstream worte the ucm3 files for amd renoir audio, but to
load the ucm3, it depends on the kernel module name, and the upstream
ucm3 needs the name snd-xxx, so we need to backport the patches
from mainline kernel to change the kernel module name to meet ucm3
requirement. BTW, there are some dmic dynamically detection patches,
we integrate them too.

[Fix]
Backport 4 patches from upstream.

[Test Case]
boot the kernel with these patches on amd renoir machines (lenovo
machines), the audio driver works well (via command line like
aplay or areord), then upgrade the alsa-lib and alsa-ucm-conf to
1.2.3.2, now we could see the audio devices from gnome, and they work
well.

[Regression Risk]
Low, this SRU are only specific to soc/amd/renoir, and we already
tested on 2 lenovo machines, their audio worked as before.