[PATCH 0/5] Fdinfo memory stats clarification and amdgpu refactor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxx>

Following on from the recent discussion from:
  https://lore.kernel.org/dri-devel/ZjjTaeZYNqVSj2y-@phenom.ffwll.local/T/#mb8105d8d7de055d3068975d27c428525e55cff84

I included some old three patches to start with, since the last in the series
depends on first, plus first had a bug which is now fixed.

Apart from extending drm-usage-stats.rst with some more information on what
various keys should contain, on a suggestion from Alex, in the last patch I also
attempt to refactor amdgpu to use DRM common drm_print_memory_stats.

There are perhaps a couple discussion points there so see what you think please.

Cc: Alex Deucher <alexander.deucher@xxxxxxx>
Cc: Christian König <christian.koenig@xxxxxxx>
Cc: Daniel Vetter <daniel@xxxxxxxx>
Cc: Rob Clark <robdclark@xxxxxxxxxxxx>

Tvrtko Ursulin (5):
  drm/amdgpu: Add amdgpu_bo_is_vm_bo helper
  drm/amdgpu: Reduce mem_type to domain double indirection
  drm/amdgpu: Describe all object placements in debugfs
  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_dma_buf.c |   3 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c  |  47 +++++---
 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c     |   2 +-
 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c  | 126 +++++++++++++-------
 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      |  61 ++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h      |   5 +-
 9 files changed, 189 insertions(+), 116 deletions(-)

-- 
2.44.0




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux