diff options
author | Jani Nikula <jani.nikula@intel.com> | 2022-03-11 13:06:39 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-03-17 21:06:04 +0300 |
commit | 109d101e273d81ba079306308e9512a8b1673ca9 (patch) | |
tree | 3e453274453f7866f7fd62c5a085080ddf78d8f1 /drivers/gpu/drm/i915/intel_memory_region.c | |
parent | 0438fd1aa69cb97dffa4c4285b1a330e46ef8832 (diff) | |
download | linux-109d101e273d81ba079306308e9512a8b1673ca9.tar.xz |
drm/i915: include uapi/drm/i915_drm.h directly where needed
Remove the uapi/drm/i915_drm.h include from drm/i915_drm.h, and stop
being a proxy for uapi/drm/i915_drm.h. Include uapi/drm/i915_drm.h and
drm/i915_drm.h only where needed.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220311100639.114685-2-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_memory_region.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_memory_region.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_memory_region.c b/drivers/gpu/drm/i915/intel_memory_region.c index c70d7e286a51..49ccafc224b7 100644 --- a/drivers/gpu/drm/i915/intel_memory_region.c +++ b/drivers/gpu/drm/i915/intel_memory_region.c @@ -5,6 +5,8 @@ #include <linux/prandom.h> +#include <uapi/drm/i915_drm.h> + #include "intel_memory_region.h" #include "i915_drv.h" #include "i915_ttm_buddy_manager.h" |