[Intel-gfx] [PATCH v2 04/13] drm/i915: make i915_gem_gtt.h self-contained

Michal Wajdeczko michal.wajdeczko at intel.com
Wed Jun 26 15:37:16 UTC 2019


On Wed, 26 Jun 2019 16:40:11 +0200, Jani Nikula <jani.nikula at intel.com>  
wrote:

> Add the minimal includes/declarations to make the header self-contained,
> and ensure it stays that way.
>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_gem_gtt.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h  
> b/drivers/gpu/drm/i915/i915_gem_gtt.h
> index 028be3b44d07..883a5ed146c3 100644
> --- a/drivers/gpu/drm/i915/i915_gem_gtt.h
> +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h
> @@ -42,6 +42,8 @@
> #include <drm/drm_mm.h>
> +#include <drm/drm_mm.h>

this seems to be redundant ;)

> +
>  #include "gt/intel_reset.h"
>  #include "i915_gem_fence_reg.h"
>  #include "i915_request.h"


More information about the Intel-gfx mailing list