drm/amdgpu: add debugfs for kfd system and ttm mem used
authorAlex Sierra <alex.sierra@amd.com>
Mon, 13 Jun 2022 18:31:41 +0000 (13:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jul 2022 20:05:16 +0000 (16:05 -0400)
commit3d2af401cf851be0bf2d4d89af6f120819b786a7
tree825bf05c6b4c603332f2929c939e99bb7f75e95e
parentf9af3c16bfe19d145cf0588afa06d7f1070cbe2d
drm/amdgpu: add debugfs for kfd system and ttm mem used

This keeps track of kfd system mem used and kfd ttm mem used.

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_debugfs.c