[PATCH i-g-t] lib/igt_drm_fdinfo: Handle (somewhat) amdgpu memory stats
Lucas De Marchi
lucas.demarchi at intel.com
Thu Sep 5 12:55:14 UTC 2024
On Wed, Sep 04, 2024 at 04:59:19PM GMT, Tvrtko Ursulin wrote:
>From: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
>
>Code so far only handles the clients using the common DRM helper.
>
>Handle the amdgpu driver which uses a slightly different set of keys. More
>specifically, outputs drm-memory-<region> instead of drm-resident-<region>.
>
>With this added gputop starts showing resident memory usage for amdgpu.
>
>v2:
> * Semantics of amdgpu drm-memory- are like resident, not total.
>
>Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
>Cc: Alex Deucher <alexander.deucher at amd.com>
>Cc: Christian König <christian.koenig at amd.com>
>Cc: Rob Clark <robdclark at chromium.org>
>Cc: Lucas De Marchi <lucas.demarchi at intel.com>
>Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com> # v1
my r-b stands.
Lucas De Marchi
More information about the igt-dev
mailing list