fdinfo fixes
Status from this message: Applied the series. Thanks!
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | drm/amdgpu: make drm-memory-* report resident memorydrivers/ drivers/ drivers/ | +4 | 0 replies | |
| 2/4 | drm/amdgpu: stop tracking visible memory statsdrivers/ drivers/ drivers/ +1 more | +12 | 0 replies | |
| 3/4 | drm/amdgpu: Stop reporting special chip memory pools as CPU memory in fdinfodrivers/ | +0 | 0 replies | |
| 4/4 | drm/amdgpu: Expose special on chip memory pools in fdinfodrivers/ | +9 | 2 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Tvrtko Ursulin | Christian König |
|---|---|---|
| 1/4 | R-b | A-b |
| 2/4 | R-b | |
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] fdinfo fixes
From: Tvrtko Ursulin <[email protected]>
I included two Teddy's patches which have been reviewed and acked and IMO makes sense to pull them in straight away.
Then patch three does what Christian suggested - stops reporting GWS, GDS, OA and DOORBELL TTM regions as 'CPU' memory.
Last patch is RFC in case there is value to expose the above mentioned as their own memory regions. Looks questionable since I only see all zeros so not much value for a lot of new text to parse?
$ cat /proc/1967/fdinfo/4 pos: 0 flags: 02100002 mnt_id: 24 ino: 1181 drm-driver: amdgpu drm-client-id: 30 drm-pdev: 0000:04:00.0 pasid: 32785 drm-total-cpu: 0 drm-shared-cpu: 0 drm-active-cpu: 0 drm-resident-cpu: 0 drm-purgeable-cpu: 0 drm-total-gtt: 20 MiB drm-shared-gtt: 0 drm-active-gtt: 0 drm-resident-gtt: 20 MiB drm-purgeable-gtt: 0 drm-total-vram: 155068 KiB drm-shared-vram: 13584 KiB drm-active-vram: 0 drm-resident-vram: 155068 KiB drm-purgeable-vram: 0 drm-total-gds: 0 drm-shared-gds: 0 drm-active-gds: 0 drm-resident-gds: 0 drm-purgeable-gds: 0 drm-total-gws: 0 drm-shared-gws: 0 drm-active-gws: 0 drm-resident-gws: 0 drm-purgeable-gws: 0 drm-total-oa: 0 drm-shared-oa: 0 drm-active-oa: 0 drm-resident-oa: 0 drm-purgeable-oa: 0 drm-total-doorbell: 0 drm-shared-doorbell: 0 drm-active-doorbell: 0 drm-resident-doorbell: 0 drm-purgeable-doorbell: 0 drm-memory-vram: 155068 KiB drm-memory-gtt: 20480 KiB drm-memory-cpu: 0 KiB amd-evicted-vram: 0 KiB amd-requested-vram: 155068 KiB amd-requested-gtt: 20480 KiB drm-engine-gfx: 19291217545 ns
Tvrtko Ursulin (2):
drm/amdgpu: Stop reporting special chip memory pools as CPU memory in
fdinfo
drm/amdgpu: Expose special on chip memory pools in fdinfo
Yunxiang Li (2):
drm/amdgpu: make drm-memory-* report resident memory drm/amdgpu: stop tracking visible memory stats
drivers/gpu/drm/amd/amdgpu/amdgpu_fdinfo.c | 23 ++++++++++++--------- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 24 ++-------------------- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 11 ---------- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 11 +++++++++- 4 files changed, 25 insertions(+), 44 deletions(-)
Signature · 1 line
2.46.0