From: Marek Vasut <marek.vasut@mailbox.org>
To: "Ming Qian(OSS)" <ming.qian@oss.nxp.com>, linux-media@vger.kernel.org
Cc: Fabio Estevam <festevam@gmail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Mirela Rabulea <mirela.rabulea@nxp.com>,
Nicolas Dufresne <nicolas.dufresne@collabora.com>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Sascha Hauer <s.hauer@pengutronix.de>,
Shawn Guo <shawnguo@kernel.org>,
imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] media: imx-jpeg: Add support for descriptor allocation from SRAM
Date: Thu, 21 Aug 2025 11:03:46 +0200 [thread overview]
Message-ID: <83a65b18-76e8-4ad4-9d4d-c1ef68d3d181@mailbox.org> (raw)
In-Reply-To: <8d38e622-a743-41f9-81e6-d8608e3c60ec@oss.nxp.com>
On 8/21/25 8:28 AM, Ming Qian(OSS) wrote:
> Hi Marek,
Hello Ming,
> On 8/21/2025 12:29 AM, Marek Vasut wrote:
>> [You don't often get email from marek.vasut@mailbox.org. Learn why
>> this is important at https://aka.ms/LearnAboutSenderIdentification ]
>>
>> Add support for optional allocation of bitstream descriptors from SRAM
>> instead of DRAM. In case the encoder/decoder DT node contains 'sram'
>> property which points to 'mmio-sram', the driver will attempt to use
>> the SRAM instead of DRAM for descriptor allocation, which might improve
>> performance.
>>
>> This however helps on i.MX95 with sporadic SLOTn_STATUS IMG_RD_ERR bit 11
>> being triggered during JPEG encoding. The following pipeline triggers the
>> problem when descriptors get allocated from DRAM, the pipeline often
>> hangs
>> after a few seconds and the encoder driver indicates "timeout, cancel
>> it" :
>
> It's a hardware bug in i.MX95 A0, and the i.MX95 B0 has fixed this issue.
Ahh, this helps, thank you.
> Using sram instead of dram only improves timing, but doesn't completely
> circumvent the hardware bug
Does it make sense to upstream this patch anyway ?
next prev parent reply other threads:[~2025-08-21 9:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-20 16:29 [PATCH] media: imx-jpeg: Add support for descriptor allocation from SRAM Marek Vasut
2025-08-20 18:17 ` Frank Li
2025-08-20 20:16 ` Marek Vasut
2025-08-21 6:28 ` Ming Qian(OSS)
2025-08-21 9:03 ` Marek Vasut [this message]
2025-08-21 9:42 ` Ming Qian(OSS)
2025-08-21 12:01 ` Marek Vasut
2025-08-22 0:58 ` Ming Qian(OSS)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83a65b18-76e8-4ad4-9d4d-c1ef68d3d181@mailbox.org \
--to=marek.vasut@mailbox.org \
--cc=festevam@gmail.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=ming.qian@oss.nxp.com \
--cc=mirela.rabulea@nxp.com \
--cc=nicolas.dufresne@collabora.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).