summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-03-17 13:04:10 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2016-03-18 09:50:37 +0000
commit39dabecd991b0a914f044af5824774825fb0923e (patch)
treef2347132c2470201eddb48773a1de84079f0dbaf /tools/perf/scripts/python/netdev-times.py
parenta112dbad44c4584ca565333d58d1bbb38799c12d (diff)
drm/i915: Use shorter route to dev_private where possible
Where we have a request we can use req->i915 directly instead of going through the engine and device. Coccinelle script: @@ function f; identifier r; @@ f(..., struct drm_i915_gem_request *r, ...) { ... - engine->dev->dev_private + r->i915 ... } @@ struct drm_i915_gem_request *req; @@ ( req-> - engine->dev->dev_private + i915 ) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/1458219850-21007-1-git-send-email-tvrtko.ursulin@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions