[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <08835e82-f9e4-52e5-5d03-fa31ecf63314@amd.com>
Date: Wed, 9 Oct 2024 09:22:38 -0700
From: Lizhi Hou <lizhi.hou@....com>
To: Jeffrey Hugo <quic_jhugo@...cinc.com>, <ogabbay@...nel.org>,
<dri-devel@...ts.freedesktop.org>
CC: <linux-kernel@...r.kernel.org>, <min.ma@....com>, <max.zhen@....com>,
<sonal.santan@....com>, <king.tam@....com>
Subject: Re: [PATCH V3 11/11] accel/amdxdna: Add firmware debug buffer support
On 10/4/24 11:33, Jeffrey Hugo wrote:
> On 9/11/2024 12:06 PM, Lizhi Hou wrote:
>> User application may allocate a debug buffer and attach it to an NPU
>> context through the driver. Then the NPU firmware prints its debug
>> information to this buffer for debugging.
>
> I feel like I must be missing something. It looks like this patch
> accepts a buffer from the user, and stores it. However I don't see how
> the NPU firmware ever learns that this special buffer exists to then
> use it.
The debug function is incomplete while I was creating the patch. Thus, I
put a line in TODO "Improve debug bo support".
We made progress on this feature. Should I add the code to V4 patch? Or
I can add it within future patches.
Thanks,
Lizhi
Powered by blists - more mailing lists