OSDN Git Service

drm/amdgpu: print bo inode number instead of ptr
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Thu, 12 Jan 2023 16:53:35 +0000 (17:53 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Jan 2023 22:24:26 +0000 (17:24 -0500)
commit26fd808b01e730fd45673619817a3feafb1230d7
tree8d7446502a48bbc7892434784f0921b8b4208f65
parent071f526a13e138a42e7bba4300e753def1024001
drm/amdgpu: print bo inode number instead of ptr

This allows to correlate the infos printed by
/sys/kernel/debug/dri/n/amdgpu_gem_info to the ones found
in /proc/.../fdinfo and /sys/kernel/debug/dma_buf/bufinfo.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c