diff options
author | Chris Wilson <[email protected]> | 2016-05-24 14:53:36 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-05-24 15:28:29 +0100 |
commit | ca585b5d0a8ea5c39428d7728b3cf4d409287b39 (patch) | |
tree | 27814ad28bb19a21c47e236f5e3cc8854f83283c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 499f2697da1d6afb66a2b2377ad67952bcddbe65 (diff) |
drm/i915: Rename and inline i915_gem_context_get()
i915_gem_context_get() is a very simple wrapper around idr_find(), so
simple that it would be smaller to do the lookup inline. Also we use the
verb 'lookup' to return a pointer from a handle, freeing 'get' to imply
obtaining a reference to the context.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions