[Intel-gfx] [PATCH] drm/i915: Wedged engine mask makes more sense in hex

Michel Thierry michel.thierry at intel.com
Wed Feb 28 18:45:28 UTC 2018


On 28/02/18 09:18, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> In decimal its just a weird big number, while in hex can actually log
> which engines were requested to be wedged.
> 

And IGT is not reading the hang reason in this case, so


Reviewed-by: Michel Thierry <michel.thierry at intel.com>

> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> ---
>   drivers/gpu/drm/i915/i915_debugfs.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c
> index 472240349388..2a4c258b90fd 100644
> --- a/drivers/gpu/drm/i915/i915_debugfs.c
> +++ b/drivers/gpu/drm/i915/i915_debugfs.c
> @@ -3977,7 +3977,8 @@ i915_wedged_set(void *data, u64 val)
>   		engine->hangcheck.stalled = true;
>   	}
>   
> -	i915_handle_error(i915, val, "Manually setting wedged to %llu", val);
> +	i915_handle_error(i915, val, "Manually set wedged engine mask = %llx",
> +			  val);
>   
>   	wait_on_bit(&i915->gpu_error.flags,
>   		    I915_RESET_HANDOFF,
> 


More information about the Intel-gfx mailing list