[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d9e6ba68-180d-4ac7-9aa9-b9972e1e9f71@collabora.com>
Date: Fri, 9 Feb 2024 22:04:59 +0200
From: Cristian Ciocaltea <cristian.ciocaltea@...labora.com>
To: Venkata Prasad Potturu <venkataprasad.potturu@....com>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>,
Liam Girdwood <lgirdwood@...il.com>,
Peter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>,
Daniel Baluta <daniel.baluta@....com>,
Kai Vehmanen <kai.vehmanen@...ux.intel.com>, Mark Brown
<broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, "Mukunda, Vijendar" <Vijendar.Mukunda@....com>
Cc: sound-open-firmware@...a-project.org, linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com
Subject: Re: [PATCH] ASoC: SOF: amd: Skip IRAM/DRAM size modification for
Steam Deck OLED
On 2/9/24 14:49, Venkata Prasad Potturu wrote:
>
> On 2/9/24 17:58, Cristian Ciocaltea wrote:
>> The recent introduction of the ACP/PSP communication for IRAM/DRAM fence
>> register modification breaks the audio support on Valve's Steam Deck
>> OLED device.
>>
>> It causes IPC timeout errors when trying to load DSP topology during
>> probing:
[...]
> Programming ACP_IRAM_DRAM_FENCE register to modify the size of IRAM and
> DRAM and it's noting related to signed or unsigned fw_image.
>
> This ACP_IRAM_DRAM_FENCE register writing need to do before starting sha
> dma.
Unfortunately it doesn't fix the issue - I tested with the psp_send_cmd()
calls moved to various positions before the line
snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SHA_DMA_CMD, ACP_SHA_RUN);
and I keep getting the IPC timeouts.
However, if I simply comment out the second psp_send_cmd() line
psp_send_cmd(adata, MBOX_ACP_IRAM_DRAM_FENCE_COMMAND | MBOX_ISREADY_FLAG);
the problem is solved, even when the first psp_send_cmd() is kept in the
original position.
Anything else worth trying?
Otherwise I would rework the patch to add a dedicated quirk for getting
this ACP_IRAM_DRAM_FENCE processing skipped for Steam Deck OLED.
Thanks,
Cristian
Powered by blists - more mailing lists