Chris Wilson <[email protected]> writes:

> For forklifted frankenkernels, the reported kernel version has no
> bearing on the actual driver version. Include our own driver date that
> is updated every time we tag drm-intel-next.
>
> Signed-off-by: Chris Wilson <[email protected]>

Reviewed-by: Mika Kuoppala <[email protected]>

> ---
>  drivers/gpu/drm/i915/i915_gpu_error.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c 
> b/drivers/gpu/drm/i915/i915_gpu_error.c
> index 9eee99bdc514..78f431d527ce 100644
> --- a/drivers/gpu/drm/i915/i915_gpu_error.c
> +++ b/drivers/gpu/drm/i915/i915_gpu_error.c
> @@ -687,6 +687,7 @@ static void __err_print_to_sgl(struct 
> drm_i915_error_state_buf *m,
>                  init_utsname()->release,
>                  init_utsname()->machine);
>       ts = ktime_to_timespec64(error->time);
> +     err_printf(m, "Driver: %s\n", DRIVER_DATE);
>       err_printf(m, "Time: %lld s %ld us\n",
>                  (s64)ts.tv_sec, ts.tv_nsec / NSEC_PER_USEC);
>       ts = ktime_to_timespec64(error->boottime);
> -- 
> 2.23.0.rc1
>
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to