summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-12-03 12:41:55 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-12-03 16:49:31 +0000
commitf70de8d2ca6be552fbdc40d434ad471ae20b7cae (patch)
tree75d9291dcc15a109280f44463fbf0c9e4dff38f8 /tools/perf/scripts/python
parent49e74c8f9ae635a1c87fab06966da4c713cf9d63 (diff)
downloadlinux-f70de8d2ca6be552fbdc40d434ad471ae20b7cae.tar.gz
linux-f70de8d2ca6be552fbdc40d434ad471ae20b7cae.zip
drm/i915/gt: Track the context validity explicitly
Rather than assume if and only if the engine->default_state is not set that the context is invalid, instead track when we know the context has valid state -- either because we have copied the default_state or we have completed a context switch to save the HW state. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191203124155.3019926-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions