[Intel-gfx] [PATCH 2/2] drm/i915: Capture module parameters for the GPU error state

Mika Kuoppala mika.kuoppala at linux.intel.com
Thu Feb 2 13:14:15 UTC 2017


Joonas Lahtinen <joonas.lahtinen at linux.intel.com> writes:

> On ke, 2017-02-01 at 16:50 +0000, Chris Wilson wrote:
>> They include useful material such as what mode the VM address space is
>> running in, what submission mode, extra quirks, etc.
>> 
>> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
>
> <SNIP>
>  
>> +static void err_print_params(struct drm_i915_error_state_buf *m,
>> +			     const struct i915_params *p)
>> +{
>> +#define PRINT(T, x) err_printf(m, #x ": %d\n", p->x);
>> +	I915_PARAMS_FOR_EACH(PRINT);
>> +#undef PRINT_PARAM
>
> #undef PRINT
>
> That fixed;
>
> Reviewed-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
>
> Needs some Acks before merging, though.

Acked-by: Mika Kuoppala <mika.kuoppala at intel.com>
>
> Regards, Joonas
> -- 
> Joonas Lahtinen
> Open Source Technology Center
> Intel Corporation
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx


More information about the Intel-gfx mailing list