Re: [Intel-gfx] [PATCH] drm/i915: pin sprite fb only if it changed

2014-09-10 Thread Ville Syrjälä
On Tue, Sep 09, 2014 at 05:49:46PM -0300, Gustavo Padovan wrote: > From: Gustavo Padovan > > Optimize code avoiding helding dev mutex if old fb and current fb > are the same. > > Signed-off-by: Gustavo Padovan > --- > drivers/gpu/drm/i915/intel_sprite.c | 23 ++- > 1 file c

[Intel-gfx] [PATCH] drm/i915: pin sprite fb only if it changed

2014-09-09 Thread Gustavo Padovan
From: Gustavo Padovan Optimize code avoiding helding dev mutex if old fb and current fb are the same. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/i915/intel_sprite.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_s