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

Jani Nikula jani.nikula at intel.com
Wed Jun 26 14:40:11 UTC 2019


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>
+
 #include "gt/intel_reset.h"
 #include "i915_gem_fence_reg.h"
 #include "i915_request.h"
-- 
2.20.1



More information about the Intel-gfx mailing list