<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Am 08.12.23 um 20:53 schrieb Alex Deucher:<br>
<blockquote type="cite"
cite="mid:CADnq5_PdWUDVK0mvMgyTyogMnT-DD2nhXHarO+BLg9BjtGPRGA@mail.gmail.com">[SNIP]<span
style="white-space: pre-wrap">
</span>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">You also need a functionality which resets all cleared blocks to
uncleared after suspend/resume.
No idea how to do this, maybe Alex knows of hand.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Since the buffers are cleared on creation, is there actually anything to do?</pre>
</blockquote>
<br>
Well exactly that's the problem, the buffers are no longer always
cleared on creation with this patch.<br>
<br>
Instead we clear on free, track which areas are cleared and clear
only the ones which aren't cleared yet on creation.<br>
<br>
So some cases need special handling. E.g. when the engine is not
initialized yet or suspend/resume.<br>
<br>
In theory after a suspend/resume cycle the VRAM is cleared to zeros,
but in practice that's not always true.<br>
<br>
Christian.<br>
<br>
<blockquote type="cite"
cite="mid:CADnq5_PdWUDVK0mvMgyTyogMnT-DD2nhXHarO+BLg9BjtGPRGA@mail.gmail.com">
<pre class="moz-quote-pre" wrap="">
Alex
</pre>
</blockquote>
</body>
</html>