Re: [Freedreno] [RFC] freedreno: valgrind support

2017-03-22 Thread Rob Clark
On Wed, Mar 22, 2017 at 7:54 AM, Rob Clark wrote: > From: Rob Clark > > --- > This is mostly an attempt at teaching valgrind about the bo cache pool, > so it would not think that gem objects returned to the bo cache were > leaked. Unfortunately the list head node in the gem bo is used to > store

[Freedreno] [RFC] freedreno: valgrind support

2017-03-22 Thread Rob Clark
From: Rob Clark --- This is mostly an attempt at teaching valgrind about the bo cache pool, so it would not think that gem objects returned to the bo cache were leaked. Unfortunately the list head node in the gem bo is used to store the bo in the pool. This is why I also have to disable/enable