Re: [PATCH] drm/i915: fix ppgtt dump code for DEBUG_FS=n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 08, 2014 at 09:27:29PM +0100, Daniel Vetter wrote:
> A regression in the topic/ppgtt branch introduce in
> 
> commit 87d60b63e0371529faaed0667d457e5022964010
> Author: Ben Widawsky <ben@xxxxxxxxxxxx>
> Date:   Fri Dec 6 14:11:29 2013 -0800
> 
>     drm/i915: Add PPGTT dumper
> 
> The issue is that we're missing the definitions for the seq_file
> functions and hence compilation fails.
> 
> v2: Just include the right header instead of splattering #ifdefs all
> over the place (Chris).
> 
> Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
> Reported-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
> Reported-by: Antti Koskipaa <antti.koskipaa@xxxxxxxxxxxxxxx>
> Cc: Ben Widawsky <ben@xxxxxxxxxxxx>
> Signed-off-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

Reviewed-by: Ben Widawsky <ben@xxxxxxxxxxxx>

> ---
>  drivers/gpu/drm/i915/i915_gem_gtt.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
> index 998f9a0b322a..6e9e6219f093 100644
> --- a/drivers/gpu/drm/i915/i915_gem_gtt.c
> +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
> @@ -22,6 +22,7 @@
>   *
>   */
>  
> +#include <linux/seq_file.h>
>  #include <drm/drmP.h>
>  #include <drm/i915_drm.h>
>  #include "i915_drv.h"
> -- 
> 1.8.4.3
> 

-- 
Ben Widawsky, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux