<div dir="auto">What are you talking about? Is fdinfo in sysfs? Userspace drivers can't access sysfs.<div dir="auto"><br></div><div dir="auto">Marek</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jan 2, 2023, 10:56 Christian König <<a href="mailto:ckoenig.leichtzumerken@gmail.com">ckoenig.leichtzumerken@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Well first of all don't mess with the VM internals outside of the VM
code.<br>
<br>
Then why would we want to expose this through the IOCTL interface?
We already have this in the fdinfo.<br>
<br>
Christian.<br>
<br>
<div>Am 30.12.22 um 23:07 schrieb Marek
Olšák:<br>
</div>
<blockquote type="cite">
<div dir="ltr">To give userspace a detailed view about its GPU
memory usage and evictions.<br>
This will help performance investigations.<br>
<br>
<div>Signed-off-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com" target="_blank" rel="noreferrer">marek.olsak@amd.com</a>></div>
<div><br>
</div>
<div>The patch is attached.</div>
<div><br>
</div>
<div>Marek<br>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div>