drm/radeon/kms: bogus cs recorder utilities
authorJerome Glisse <jglisse@redhat.com>
Thu, 28 Jan 2010 17:22:31 +0000 (18:22 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 8 Feb 2010 23:32:34 +0000 (09:32 +1000)
commit9f93ed39804a9cfe10577cfae66059fe6bc6e3a5
treea59e77faf98a85451ea8ba54c1361f188fc6836d
parent73a6d3fc104827db574e4bd206a025299fef0bb1
drm/radeon/kms: bogus cs recorder utilities

This add an utilities function radeon_ib_bogus_add which will
save an ib into a list of ib which can then be dumped using
debugfs. Once dumped the ib is removed from the list. This
should allow to save & capute ib for further debugging.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_ring.c