aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTvrtko Ursulin <[email protected]>2016-03-17 13:04:10 +0000
committerTvrtko Ursulin <[email protected]>2016-03-18 09:50:37 +0000
commit39dabecd991b0a914f044af5824774825fb0923e (patch)
treef2347132c2470201eddb48773a1de84079f0dbaf /tools/perf/scripts/python
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 <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions