[PATCH 2/2] drm/amdgpu: add AMDGPU_INFO_VM_STAT to return GPU VM

Marek Olšák maraeo at gmail.com
Mon Jan 2 17:57:11 UTC 2023


What are you talking about? Is fdinfo in sysfs? Userspace drivers can't
access sysfs.

Marek

On Mon, Jan 2, 2023, 10:56 Christian König <ckoenig.leichtzumerken at gmail.com>
wrote:

> Well first of all don't mess with the VM internals outside of the VM code.
>
> Then why would we want to expose this through the IOCTL interface? We
> already have this in the fdinfo.
>
> Christian.
>
> Am 30.12.22 um 23:07 schrieb Marek Olšák:
>
> To give userspace a detailed view about its GPU memory usage and evictions.
> This will help performance investigations.
>
> Signed-off-by: Marek Olšák <marek.olsak at amd.com>
>
> The patch is attached.
>
> Marek
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20230102/a7817fb3/attachment.htm>


More information about the amd-gfx mailing list