summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2014-09-10 12:03:17 -0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-09-19 14:43:08 +0200
commit25067bfc060d1a481584dcb51ef4b5680176ecb6 (patch)
treef491c8534c37b09d1adddd269b27497ec4ae86da /tools/perf/scripts/python/check-perf-trace.py
parent94f598f176600a857817e010f266cdc30efa585b (diff)
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 <gustavo.padovan@collabora.co.uk> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions