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