On Wed, Sep 10, 2014 at 12:03:17PM -0300, Gustavo Padovan wrote:
> From: Gustavo Padovan
>
> Optimize code avoiding helding dev mutex if old fb and current fb
> are the same.
>
> v2: take Ville's comments
> - move comment along with the pin_and_fence call
> - check for error before c
On Wed, Sep 10, 2014 at 07:26:53PM +0300, Ville Syrj?l? wrote:
> On Wed, Sep 10, 2014 at 12:03:17PM -0300, Gustavo Padovan wrote:
> > From: Gustavo Padovan
> >
> > Optimize code avoiding helding dev mutex if old fb and current fb
> > are the same.
> >
> > v2: take Ville's comments
> > - move
From: Gustavo Padovan
Optimize code avoiding helding dev mutex if old fb and current fb
are the same.
v2: take Ville's comments
- move comment along with the pin_and_fence call
- check for error before calling i915_gem_track_fb
- move old_obj != obj to an upper if conditi