diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-01 12:40:02 +0300 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2018-06-01 15:38:43 +0300 |
commit | e312b689a92d82d2b67f8b58b307fe5b79019d60 (patch) | |
tree | 7173be67ee457c002b92222bb85bca6e39713b6a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 1934f5deaf8f53e0af0b55f87b7fc519b76515a0 (diff) | |
download | linux-e312b689a92d82d2b67f8b58b307fe5b79019d60.tar.xz |
drm/i915: Check intel_contexts to avoid one extra pointer chase
As we store the intel_context on the request (rq->hw_context), we can
simply compare that against the local intel_context for the
i915->kernel_context rather than using the rq->gem_context.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180601094002.13329-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions