Re: [PATCH] lib/drmtest: Retire requests via drop caches after gem_quiescent_gpu

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

 



On Tue, Nov 05, 2013 at 02:15:19PM +0000, oscar.mateo@xxxxxxxxx wrote:
> From: Oscar Mateo <oscar.mateo@xxxxxxxxx>
> 
> This helps make sure that the GPU is really quiescent by getting
> rid of any residual stuff.
> 
> Signed-off-by: Oscar Mateo <oscar.mateo@xxxxxxxxx>

Merged, thanks for the patch.
-Daniel

> ---
>  lib/drmtest.c |    2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/lib/drmtest.c b/lib/drmtest.c
> index e3fc166..d8fc60f 100644
> --- a/lib/drmtest.c
> +++ b/lib/drmtest.c
> @@ -47,6 +47,7 @@
>  #include "i915_drm.h"
>  #include "intel_chipset.h"
>  #include "intel_gpu_tools.h"
> +#include "igt_debugfs.h"
>  
>  /* This file contains a bunch of wrapper functions to directly use gem ioctls.
>   * Mostly useful to write kernel tests. */
> @@ -163,6 +164,7 @@ void gem_quiescent_gpu(int fd)
>  	}
>  
>  	gem_sync(fd, handle);
> +	igt_drop_caches_set(DROP_RETIRE);
>  }
>  
>  /**
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
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