From: Gustavo Padovan Date: Wed, 10 Sep 2014 15:03:17 +0000 (-0300) Subject: drm/i915: pin sprite fb only if it changed X-Git-Tag: omap-for-v3.19/fixes-rc1~80^2~79^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25067bfc060d1a481584dcb51ef4b5680176ecb6;p=pandora-kernel.git drm/i915: pin sprite fb only if it changed 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 condition Signed-off-by: Gustavo Padovan Reviewed-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed