<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Am 25.11.24 um 16:29 schrieb Matthew Brost:<br>
<blockquote type="cite" cite="mid:Z0SX8WJCPADGLVE5@lstrano-desk.jf.intel.com">
<pre class="moz-quote-pre" wrap="">On Fri, Nov 15, 2024 at 10:27:59AM -0800, Matthew Brost wrote:
</pre>
<blockquote type="cite">[SNIP]<span style="white-space: pre-wrap">
</span>
<pre class="moz-quote-pre" wrap="">We use this interface to read a BO marked with a dumpable flag during a
GPU hang in our error capture code. This is an internal KMD feature, not
directly exposed to user space. Would adding this helper be acceptable
for this use case? I can add kernel indicating the current restrictions
of the helper (do not directly expose to user space) too if that would
help.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Christian - ping on above.</pre>
</blockquote>
<br>
Sorry, I will try to give those mailing list tasks a bit more time
in before the xmas holidays.<br>
<br>
That is an acceptable use case, but the problem is that this helper
won't work for that.<br>
<br>
See during a GPU hang you can't lock BOs, so how do you want to look
into their content with the peek helper?<br>
<br>
The only thing you could potentially do is to trylock the BO and
then dump, but that would most likely be a bit unreliable.<br>
<br>
Regards,<br>
Christian.<br>
<br>
<span style="white-space: pre-wrap">
</span>
<blockquote type="cite" cite="mid:Z0SX8WJCPADGLVE5@lstrano-desk.jf.intel.com">
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Matt
</pre>
</blockquote>
</blockquote>
</body>
</html>