diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-11 20:56:14 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-02-12 10:07:13 +0000 |
commit | 89dd019a8a99e1a08c9c724dc2831c2ec3c050a3 (patch) | |
tree | afd35d94fddbc577da12ab6378be1eb9d11d220b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 42fb60de3129ef998bb18266ee06530669021e55 (diff) |
drm/i915: Poison rings after use
On retiring the request, we should not re-use these elements in the ring
(at least not until we fill the ringbuffer and knowingly reuse the space).
Leave behind some poison to (hopefully) trap ourselves if we make a
mistake.
Suggested-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
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/20200211205615.1190127-1-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions