drm/i915: Decouple struct i915_params i915 into i915_params.h
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Fri, 18 Dec 2015 11:08:15 +0000 (13:08 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 21 Dec 2015 13:35:03 +0000 (14:35 +0100)
commitc838d719d62592e8cb519ffbdd36311e44e9cb53
tree62cb3869e128b64b4bef2ed941aa4656c54ab426
parent1a5a9ce70f088d1c7e8e3b2c8f92cac876d8f9df
drm/i915: Decouple struct i915_params i915 into i915_params.h

Otherwise usage in the i915 debug macros yields problems due to
i915_drv.h <-> i915_trace.h <-> intel_drv.h include loops.

v2:
- Document not-so-obvious need for linux/cache.h (Chris)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450436898-20408-2-git-send-email-joonas.lahtinen@linux.intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h [new file with mode: 0644]