[PATCH RFC 4/5] drm/amdgpu: Add accounting of command submission via DRM cgroup

Eric Anholt eric at anholt.net
Fri Nov 23 17:36:28 UTC 2018

Christian K├Ânig <ckoenig.leichtzumerken at gmail.com> writes:

> Am 20.11.18 um 21:57 schrieb Eric Anholt:
>> Kenny Ho <Kenny.Ho at amd.com> writes:
>>> Account for the number of command submitted to amdgpu by type on a per
>>> cgroup basis, for the purpose of profiling/monitoring applications.
>> For profiling other drivers, I've used perf tracepoints, which let you
>> get useful timelines of multiple events in the driver.  Have you made
>> use of this stat for productive profiling?
> Yes, but this is not related to profiling at all.
> What we want to do is to limit the resource usage of processes.

That sounds great, and something I'd be interested in for vc4.  However,
as far as I saw explained here, this patch doesn't let you limit
resource usage of a process and is only useful for
"profiling/monitoring" so I'm wondering how it is useful for that
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20181123/4183d757/attachment-0001.sig>

More information about the amd-gfx mailing list