[PATCH 0/2] DRM fdinfo legacy drm-memory- clarification and amdgpu update
Tvrtko Ursulin
tursulin at igalia.com
Tue Aug 13 13:57:10 UTC 2024
From: Tvrtko Ursulin <tvrtko.ursulin at igalia.com>
Re-sending these two since they garnered little attention last time round.
First patch clarifies what drm-memory- is, and that it is legacy, and second
patch updates amdgpu to start emitting new keys together with the legacy (by
using the common DRM helper).
With that gputop will show the resident usage (not just total) and as bonus I
added active and purgeable.
Tvrtko Ursulin (2):
Documentation/gpu: Document the situation with unqualified drm-memory-
drm/amdgpu: Use drm_print_memory_stats helper from fdinfo
Documentation/gpu/drm-usage-stats.rst | 25 +++++-
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 48 +++++++----
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 96 +++++++++++++++-------
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 35 +++-----
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 20 +++--
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 3 +-
7 files changed, 144 insertions(+), 84 deletions(-)
--
2.44.0
More information about the dri-devel
mailing list