[PATCH] dma-buf: Add debugfs support
Sumit Semwal
sumit.semwal at linaro.org
Mon Dec 17 00:56:39 PST 2012
On 14 December 2012 16:04, Daniel Vetter <daniel at ffwll.ch> wrote:
>
> Missed one ...
>
> On Fri, Dec 14, 2012 at 10:36 AM, <sumit.semwal at ti.com> wrote:
> > + list_for_each_entry(attach_obj, &buf_obj->attachments, node) {
> > + seq_printf(s, "\t\t");
> > +
> > + seq_printf(s, "%s\n", attach_obj->dev->init_name);
> > + attach_count++;
> > + }
>
> You need to hold dmabuf->lock while walking the attachment list.
> -Daniel
Thanks Daniel!
Will update in next version.
>
> --
> Daniel Vetter
> Software Engineer, Intel Corporation
> +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Best regards,
Sumit Semwal
More information about the dri-devel
mailing list