[Intel-gfx] [PATCH] drm/i915: Copy user requested buffers into the error state

Ben Widawsky ben at bwidawsk.net
Mon Jan 2 18:42:23 UTC 2017


On 16-12-05 16:44:44, Matt Turner wrote:
>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.

Did this get anywhere? Do we have an easy way to decompress the instructions, or
should we just use the debug flag to disable compression?


More information about the Intel-gfx mailing list