diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-08-06 13:07:28 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-08-07 12:43:14 +0300 |
commit | a09d9a8002368e1b8754c8621ad06d3d7bade6f4 (patch) | |
tree | e81a3f72af0a8837f863e9b54e4139eacc187ef3 /drivers/gpu/drm/i915/i915_gem.h | |
parent | d0d392a8deed8442191bdf5b2d6bb17e04c928b6 (diff) |
drm/i915: avoid including intel_drv.h via i915_drv.h->i915_trace.h
Disentangle i915_drv.h from intel_drv.h, which gets included via
i915_trace.h. This necessitates including i915_trace.h wherever it's
needed.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/ed82bf259d3b725a1a1a3c3e9d6fb5c08bc4d489.1565085691.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem.h b/drivers/gpu/drm/i915/i915_gem.h index fe82d3571072..167a7b56ed5b 100644 --- a/drivers/gpu/drm/i915/i915_gem.h +++ b/drivers/gpu/drm/i915/i915_gem.h @@ -28,6 +28,8 @@ #include <linux/bug.h> #include <linux/interrupt.h> +#include <drm/drm_drv.h> + struct drm_i915_private; #ifdef CONFIG_DRM_I915_DEBUG_GEM |