Tracking drm_intel_bo allocation

Chris Wilson chris at chris-wilson.co.uk
Sat Mar 26 00:21:13 PDT 2011


On Fri, 25 Mar 2011 23:36:33 -0700, "Segovia, Benjamin" <benjamin.segovia at intel.com> wrote:
> Hello all,
> 
> I am using drm_intel to access the HW. I would like to know if there is any way to know if my application frees all the bos I used. I would like to be sure I cleanly freed my resources and no bo is still referenced.
> Is there any tool in the memory allocation part of drm_intel to do that?

valgrind.

The kernel releases all client references upon termination.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the dri-devel mailing list