[Intel-gfx] [PATCH] drm/i915: Copy user requested buffers into the error state
Matt Turner
mattst88 at gmail.com
Tue Dec 6 00:44:44 UTC 2016
On Sat, Dec 3, 2016 at 7:46 AM, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 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 <ben at bwidawsk.net>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Ben Widawsky <ben at bwidawsk.net>
> Cc: Matt Turner <mattst88 at gmail.com>
> ---
Thanks Chris.
I would love to give this patch a try, but I can't figure out what it
applies to. It looks like it applies on top of another of your series
-- I looked in your linux-2.6 repo, but didn't spot the appropriate
branch.
More information about the Intel-gfx
mailing list