diff options
author | Jani Nikula <jani.nikula@intel.com> | 2018-12-27 15:56:37 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-01-02 12:37:47 +0300 |
commit | 5c27b9fafeadc919fd58a3b4fbd718a1cb7b1b1a (patch) | |
tree | 42282197ac20ef3da02add4ebeb90ba1035c6728 /include/drm/intel-gtt.h | |
parent | c76426883c8f44bc7d2aee123e28867c67b87384 (diff) | |
download | linux-5c27b9fafeadc919fd58a3b4fbd718a1cb7b1b1a.tar.xz |
drm: include kernel.h and agp_backend.h from intel-gtt.h
intel-gtt.h uses kernel and agp pointers, make it self-contained by
including the relevant headers. This prepares for dropping drmP.h from
files including intel-gtt.h.
[Updated commit message per Laurent's review while applying.]
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/9414800f89d6f326c6e9173233bf6c4dee254d9a.1545915059.git.jani.nikula@intel.com
Diffstat (limited to 'include/drm/intel-gtt.h')
-rw-r--r-- | include/drm/intel-gtt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/intel-gtt.h b/include/drm/intel-gtt.h index 2324c84a25c0..71d81923e6b0 100644 --- a/include/drm/intel-gtt.h +++ b/include/drm/intel-gtt.h @@ -4,6 +4,9 @@ #ifndef _DRM_INTEL_GTT_H #define _DRM_INTEL_GTT_H +#include <linux/agp_backend.h> +#include <linux/kernel.h> + void intel_gtt_get(u64 *gtt_total, phys_addr_t *mappable_base, resource_size_t *mappable_end); |