Commit b96ccdc
committed
ASoC: Intel: avs: Fixes and new platforms support
Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:
The avs-driver continues to be utilized on more recent Intel machines.
As TGL-based (cAVS 2.5) e.g.: RPL, inherit most of the functionality
from previous platforms:
SKL <- APL <- CNL <- ICL <- TGL
rather than putting everything into a single file, the platform-specific
bits are split into cnl/icl/tgl.c files instead. Makes the division clear
and code easier to maintain.
Layout of the patchset:
First are two changes combined together address the sound-clipping
problem, present when only one stream is running - specifically one
CAPTURE stream.
Follow up is naming-scheme adjustment for some of the existing functions
what improves code incohesiveness. As existing IPC/IRQ code operates
solely on cAVS 1.5 architecture, it needs no abstraction. The situation
changes when newer platforms come into the picture. Thus the next two
patches abstract the existing IPC/IRQ handlers so that majority of the
common code can be re-used.
The ICCMAX change stands out a bit - the AudioDSP firmware loading
procedure differs on ICL-based platforms (and onwards) and having a
separate commit makes the situation clear to the developers who are
going to support the solution from LTS perspective. For that reason
I decided not to merge it into the commit introducing the icl.c file.1,210 files changed
Lines changed: 12518 additions & 6893 deletions
File tree
- Documentation
- ABI/testing
- arch/arm64
- dev-tools/kunit
- devicetree/bindings
- ata
- display/bridge
- gpio
- net
- reset
- sound
- tpm
- ufs
- usb
- kbuild
- netlink/specs
- networking
- devlink
- net_cachelines
- process
- sphinx
- usb
- arch
- arc/include/asm
- arm64
- include/asm
- kernel
- vdso32
- kvm
- hyp
- arm
- include/asm
- mm
- csky/include/asm
- loongarch
- include/asm
- kernel
- mm
- vdso
- m68k
- mips
- include/asm
- kernel
- parisc
- include/asm
- kernel
- mm
- powerpc
- include
- asm
- uapi/asm
- kernel
- trace
- mm/kasan
- platforms
- 85xx
- pseries
- sysdev
- riscv
- include
- asm
- uapi/asm
- kernel
- kvm
- lib
- mm
- s390
- include/asm
- kvm
- mm
- sparc/include/asm
- um
- include/asm
- x86
- boot
- include/asm
- kernel
- fpu
- kvm
- svm
- vmx
- lib
- mm
- xen
- xtensa/include/asm
- block
- crypto
- drivers
- accel/ivpu
- acpi/apei
- android
- ata
- atm
- base
- regmap
- block
- connector
- crypto
- caam
- ccp
- intel/qat/qat_4xxx
- cxl/core
- dma-buf/heaps
- dma
- fsl-dpaa2-qdma
- ti
- dpll
- firewire
- firmware/efi
- libstub
- gpio
- gpu/drm
- amd
- amdgpu
- amdkfd
- display
- amdgpu_dm
- dc
- basics
- bios
- clk_mgr
- dcn301
- dcn35
- core
- dcn30
- dcn32
- dcn35
- dml2
- dml
- dcn32
- dcn35
- hwss
- dce110
- dcn20
- dcn21
- dcn32
- inc
- link
- protocols
- resource
- dcn301
- dcn32
- dcn35
- pm/swsmu
- inc
- smu13
- i915
- display
- gvt
- msm
- adreno
- disp/dpu1
- dp
- nouveau
- include/nvkm/subdev
- nvkm/subdev/gsp
- rockchip
- scheduler
- tegra
- tests
- virtio
- xe
- abi
- compat-i915-headers/gem
- hid
- bpf
- i2c-hid
- intel-ish-hid/ishtp
- hwmon
- pmbus
- i2c/busses
- iio
- accel
- adc
- humidity
- imu/bno055
- light
- magnetometer
- pressure
- input
- joystick
- keyboard
- mouse
- serio
- touchscreen
- interconnect/qcom
- iommu
- irqchip
- md
- media
- platform/rockchip/rkisp1
- rc
- misc
- mmc
- core
- host
- net
- arcnet
- bonding
- can/dev
- dsa
- mv88e6xxx
- qca
- ethernet
- amd/pds_core
- aquantia/atlantic
- broadcom
- asp2
- bnxt
- brocade/bna
- engleder
- google/gve
- intel
- e1000e
- i40e
- ice
- idpf
- igb
- igc
- ixgbe
- marvell/octeontx2
- af
- nic
- mediatek
- mellanox/mlx5/core
- microchip/lan966x
- netronome/nfp
- flower
- nfpcore
- pensando/ionic
- renesas
- stmicro/stmmac
- ti
- fddi/skfp
- hyperv
- ieee802154
- ipvlan
- netdevsim
- phy
- plip
- ppp
- wireless
- ath
- ar5523
- wcn36xx
- broadcom/brcm80211/brcmfmac
- bca
- cyw
- wcc
- intel/iwlwifi
- fw
- api
- mvm
- intersil/p54
- mediatek/mt76
- mt7603
- mt7615
- mt76x0
- mt76x2
- mt7915
- mt7921
- mt7925
- mt7996
- microchip/wilc1000
- ti
- wl1251
- wl12xx
- wl18xx
- wlcore
- xen-netback
- nvmem
- nvme
- common
- host
- target
- of
- pci
- controller/dwc
- pcie
- perf
- phy
- microchip
- qualcomm
- renesas
- ti
- pinctrl
- pmdomain
- mediatek
- renesas
- power/supply
- regulator
- s390/net
- scsi
- fcoe
- fnic
- isci
- lpfc
- soc/apple
- spi
- staging
- iio/impedance-analyzer
- media/atomisp/pci
- target
- thunderbolt
- tty/serial
- 8250
- ufs/core
- usb
- chipidea
- common
- core
- dwc3
- gadget
- function
- udc
- host
- serial
- typec
- tcpm
- ucsi
- xen
- events
- xenbus
- fs
- bcachefs
- btrfs
- ceph
- erofs
- exfat
- ext4
- gfs2
- hugetlbfs
- jfs
- nfsd
- nilfs2
- ntfs3
- overlayfs
- proc
- smb
- client
- server
- tracefs
- xfs
- libxfs
- scrub
- zonefs
- include
- linux
- ceph
- gpio
- iio
- adc
- common
- imu
- netfilter/ipset
- usb
- net
- netfilter
- sound
- trace/events
- uapi
- drm
- linux
- iio
- netfilter
- xen
- init
- io_uring
- kernel
- events
- time
- trace
- lib
- kunit
- mm
- damon
- net
- 6lowpan
- atm
- batman-adv
- bridge
- can/j1939
- ceph
- core
- devlink
- handshake
- hsr
- ipv4
- ipv6
- key
- llc
- mac80211
- mptcp
- netfilter
- ipset
- nfc/nci
- openvswitch
- rds
- rxrpc
- sched
- sctp
- smc
- sunrpc
- tipc
- tls
- unix
- wireless
- xfrm
- samples/bpf
- scripts
- clang-tools
- kconfig
- mod
- package
- security
- sound
- core
- pci/hda
- soc
- amd
- acp/acp3x-es83xx
- yc
- codecs
- intel
- avs
- boards
- qcom/qdsp6
- sof
- amd
- intel
- sunxi
- usb
- virtio
- tools
- arch/x86
- include
- asm
- uapi/asm
- lib
- include
- asm-generic
- linux
- uapi
- asm-generic
- drm
- linux
- perf
- Documentation
- pmu-events/arch/x86
- alderlaken
- alderlake
- sapphirerapids
- tests/shell
- trace/beauty
- util
- include/linux
- testing/selftests
- core
- drivers/net
- bonding
- team
- dt
- hid/tests
- kvm
- aarch64
- include
- x86_64
- lib
- aarch64
- riscv
- s390x
- x86_64
- riscv
- s390x
- x86_64
- landlock
- livepatch
- mm
- netfilter
- net
- forwarding
- mptcp
- openvswitch
- tcp_ao
- lib
- powerpc/papr_vpd
- rseq
- seccomp
- tracing/rtla
- src
- verification/rv
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| 293 | + | |
292 | 294 | | |
293 | 295 | | |
294 | 296 | | |
| |||
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| 349 | + | |
347 | 350 | | |
348 | 351 | | |
349 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2161 | 2161 | | |
2162 | 2162 | | |
2163 | 2163 | | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
| 2169 | + | |
| 2170 | + | |
| 2171 | + | |
| 2172 | + | |
| 2173 | + | |
| 2174 | + | |
| 2175 | + | |
| 2176 | + | |
2164 | 2177 | | |
2165 | 2178 | | |
2166 | 2179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
0 commit comments