Message ID | 20190617095108.22118-3-jani.nikula@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [01/11] drm/i915: make i915_fixed.h self-contained | expand |
diff --git a/drivers/gpu/drm/i915/Makefile.header-test b/drivers/gpu/drm/i915/Makefile.header-test index f6ec3e72ae38..00a437db434d 100644 --- a/drivers/gpu/drm/i915/Makefile.header-test +++ b/drivers/gpu/drm/i915/Makefile.header-test @@ -7,6 +7,7 @@ header_test := \ i915_debugfs.h \ i915_drv.h \ i915_fixed.h \ + i915_gem_gtt.h \ i915_irq.h \ i915_params.h \ i915_priolist_types.h \ diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h index 63fa357c69de..108d4c7293d7 100644 --- a/drivers/gpu/drm/i915/i915_gem_gtt.h +++ b/drivers/gpu/drm/i915/i915_gem_gtt.h @@ -38,6 +38,8 @@ #include <linux/mm.h> #include <linux/pagevec.h> +#include <drm/drm_mm.h> + #include "gt/intel_reset.h" #include "i915_gem_fence_reg.h" #include "i915_request.h"
Add the minimal includes/declarations to make the header self-contained, and ensure it stays that way. Signed-off-by: Jani Nikula <jani.nikula@intel.com> --- drivers/gpu/drm/i915/Makefile.header-test | 1 + drivers/gpu/drm/i915/i915_gem_gtt.h | 2 ++ 2 files changed, 3 insertions(+)