[Intel-gfx] [PATCH] drm/i915/guc: Fix build break on config without DEBUG_FS

Rodrigo Vivi rodrigo.vivi at intel.com
Thu Mar 15 15:49:20 UTC 2018


On Thu, Mar 15, 2018 at 03:28:47PM +0000, Michal Wajdeczko wrote:
> In commit 56b9a8b08387 ("drm/i915/guc: Update syntax of GuC
> log functions") we accidentally removed debugfs.h header
> where needed stub functions were defined.
> 
> Reported-by: Mike Lothian <mike at fireburn.co.uk>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Mike Lothian <mike at fireburn.co.uk>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

Acked-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

and pushed.

thanks for the patch.

> ---
>  drivers/gpu/drm/i915/intel_guc_log.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/intel_guc_log.c b/drivers/gpu/drm/i915/intel_guc_log.c
> index bfb9a68..1c2127b 100644
> --- a/drivers/gpu/drm/i915/intel_guc_log.c
> +++ b/drivers/gpu/drm/i915/intel_guc_log.c
> @@ -22,6 +22,8 @@
>   *
>   */
>  
> +#include <linux/debugfs.h>
> +
>  #include "intel_guc_log.h"
>  #include "i915_drv.h"
>  
> -- 
> 1.9.1
> 
> _______________________________________________
> 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