]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: SOF: amd: move iram-dram fence register programming sequence
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Tue, 13 Aug 2024 10:59:43 +0000 (16:29 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 13 Aug 2024 11:39:18 +0000 (12:39 +0100)
commitc56ba3e44784527fd6efe5eb7a4fa6c9f6969a58
tree7496811c2df2ed223841c843e2c5624187a3a35a
parent5552cccb0b73020f6506fd5d8f81975b1f59080c
ASoC: SOF: amd: move iram-dram fence register programming sequence

The existing code modifies IRAM and DRAM size after sha dma start for
vangogh platform. The problem with this sequence is that it might cause
sha dma failure when firmware code binary size is greater than the default
IRAM size. To fix this issue, Move the iram-dram fence register sequence
prior to sha dma start.

Fixes: 094d11768f74 ("ASoC: SOF: amd: Skip IRAM/DRAM size modification for Steam Deck OLED")
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://patch.msgid.link/20240813105944.3126903-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/amd/acp.c