]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
radeon: add bo tracking debugfs
authorJerome Glisse <jglisse@redhat.com>
Fri, 26 Apr 2013 02:29:27 +0000 (22:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 2 May 2013 14:09:47 +0000 (10:09 -0400)
commit409851f48939dffdd9f19a43830f54eac2c19a53
tree6ec5a11ba6d6cec8959716a6aba99a392fe222e1
parent62d1f92e06aef9665d71ca7e986b3047ecf0b3c7
radeon: add bo tracking debugfs

This is to allow debugging of userspace program not freeing buffer
after, which is basicly a memory leak. This print the list of all
gem object along with their size and placement (VRAM,GTT,CPU) and
with the pid of the task that created them.

agd5f: add warning fix

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_device.c
drivers/gpu/drm/radeon/radeon_gem.c