[Intel-gfx] [PATCH 1/2] drm/i915: clear up wedged transitions
Damien Lespiau
damien.lespiau at intel.com
Wed Dec 5 17:38:40 CET 2012
On Thu, Nov 15, 2012 at 4:17 PM, Daniel Vetter <daniel.vetter at ffwll.ch> wrote:
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -1596,7 +1596,7 @@ i915_wedged_read(struct file *filp,
>
> len = snprintf(buf, sizeof(buf),
> "wedged : %d\n",
> - atomic_read(&dev_priv->gpu_error.wedged));
> + atomic_read(&dev_priv->gpu_error.reset_counter));
I was wondering if you might want to expose wedge as
(gpu_error.reset_counter == I915_WEDGED) and have a separate
reset_counter set to (gpu_error.reset_counter >> 1)
--
Damien
More information about the Intel-gfx
mailing list