From: Chris Wilson <chris@chris-wilson.co.uk>
To: "Segovia, Benjamin" <benjamin.segovia@intel.com>,
DRI <dri-devel@lists.freedesktop.org>
Subject: Re: Tracking drm_intel_bo allocation
Date: Sat, 26 Mar 2011 07:21:13 +0000 [thread overview]
Message-ID: <0d30dc$ljoekm@orsmga001.jf.intel.com> (raw)
In-Reply-To: <5812F7DC54903547874AA228AE9C46AB3D9F73E8@orsmsx504.amr.corp.intel.com>
On Fri, 25 Mar 2011 23:36:33 -0700, "Segovia, Benjamin" <benjamin.segovia@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
next prev parent reply other threads:[~2011-03-26 7:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 6:36 Tracking drm_intel_bo allocation Segovia, Benjamin
2011-03-26 7:21 ` Chris Wilson [this message]
2011-03-26 7:28 ` Segovia, Benjamin
2011-03-28 20:26 ` Eric Anholt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='0d30dc$ljoekm@orsmga001.jf.intel.com' \
--to=chris@chris-wilson.co.uk \
--cc=benjamin.segovia@intel.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.