aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2017-10-27 10:43:11 +0100
committerChris Wilson <[email protected]>2017-10-27 12:09:29 +0100
commit11caf5517c2c9eebd435c60e9343a3784d74e9a1 (patch)
tree2528a96186675d35d2a3fdba9f5195beb18a44c0 /tools/perf/scripts/python/export-to-sqlite.py
parente6ed2a1b99051bc04abcc2daed3972efada0b7a9 (diff)
drm/i915: Empty the ring before disabling
An interesting snippet from Sandybridge's prm: "Although a Ring Buffer can be enabled in the non-empty state, it must not be disabled unless it is empty. Attempting to disable a Ring Buffer in the non-empty state is UNDEFINED." Let's avoid the undefined behaviour as we disable the rings prior to reset and resume. v2: Tell HEAD to catch up to TAIL (empty ring) first, then reset both to 0 (supposedly while stopped). Signed-off-by: Chris Wilson <[email protected]> Cc: Mika Kuoppala <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions