diff options
| author | Chris Wilson <[email protected]> | 2017-04-15 10:39:02 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2017-04-15 12:39:57 +0100 |
| commit | b0fd47adc6233e4c198a97e1ddb05accd31eeacb (patch) | |
| tree | f99e371e5d15c0ab0783a2a0bc7467f5f7a8c4b7 /tools/perf/scripts/python/netdev-times.py | |
| parent | f4bf77b49516e12e89c7de89a343accd6cbe87f2 (diff) | |
drm/i915: Copy user requested buffers into the error state
Introduce a new execobject.flag (EXEC_OBJECT_CAPTURE) that userspace may
use to indicate that it wants the contents of this buffer preserved in
the error state (/sys/class/drm/cardN/error) following a GPU hang
involving this batch.
Use this at your discretion, the contents of the error state. although
compressed, are allocated with GFP_ATOMIC (i.e. limited) and kept for all
eternity (until the error state is destroyed).
Based on an earlier patch by Ben Widawsky <[email protected]>
Testcase: igt/gem_exec_capture
Signed-off-by: Chris Wilson <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Matt Turner <[email protected]>
Acked-by: Ben Widawsky <[email protected]>
Acked-by: Matt Turner <[email protected]>
Reviewed-by: Joonas Lahtinen <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions