[Intel-gfx] [PATCH] drm/i915: Add Guc/HuC firmware details to error state
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 19 13:31:34 UTC 2017
Quoting Michal Wajdeczko (2017-10-19 13:57:06)
> diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c
> index 653fb69..0105b87 100644
> --- a/drivers/gpu/drm/i915/i915_gpu_error.c
> +++ b/drivers/gpu/drm/i915/i915_gpu_error.c
> @@ -30,6 +30,8 @@
> #include <generated/utsrelease.h>
> #include <linux/stop_machine.h>
> #include <linux/zlib.h>
> +#include <drm/drm_print.h>
> +
> #include "i915_drv.h"
>
> static const char *engine_str(int engine)
> @@ -175,6 +177,21 @@ static void i915_error_puts(struct drm_i915_error_state_buf *e,
> #define err_printf(e, ...) i915_error_printf(e, __VA_ARGS__)
> #define err_puts(e, s) i915_error_puts(e, s)
>
> +void __i915_printfn_error(struct drm_printer *p, struct va_format *vaf)
This isn't exported so don't forget the static?
-Chris
More information about the Intel-gfx
mailing list