[Intel-gfx] [PATCH] drm/i915: hangcheck parameter
Chris Wilson
chris at chris-wilson.co.uk
Wed Jun 22 19:45:56 CEST 2011
On Wed, 22 Jun 2011 10:32:50 -0700, Ben Widawsky <ben at bwidawsk.net> wrote:
> The hangcheck is undesirable when doing shader debugging. The debugger
> interacts with the EU, and these may cause the hangcheck to fire at most
> unfortunate times.
>
> This provides a way to let the user disable the hangcheck when they want
> to do shader debugging.
Looks like a reasonable idea, I'm tempted to suggest to make it the period
in ms rather a boolean. But for actual use, either a new ioctl for
enable/disable or another wakelock? Just in case we have more than one
program trying to debug at the same time. (Not so far fetched, as the user
may be snooping on the results whilst debugging in another process?)
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list