aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-11-20 10:20:02 +0000
committerChris Wilson <[email protected]>2017-11-20 15:56:16 +0000
commit3fef5cda970124a15c553c1672d800e40fc08a9e (patch)
tree6ba9c24bca258c8e3bab90a01d29fdfa4fdb9fc1 /tools/perf/scripts/python/net_dropmonitor.py
parent2113184c6f6749f6e4e86a42894f67a50ead6775 (diff)
drm/i915: Automatic i915_switch_context for legacy
During request construction, after pinning the context we know whether or not we have to emit a context switch. So move this common operation from every caller into i915_gem_request_alloc() itself. v2: Always submit the request if we emitted some commands during request construction, as typically it also involves changes in global state. Signed-off-by: Chris Wilson <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions