drm/i915: Forward declare struct intel_context
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 24 May 2018 15:06:21 +0000 (16:06 +0100)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 25 May 2018 07:21:19 +0000 (08:21 +0100)
commit8359768c5c325f841473343288fc4d55a256954f
tree5ead83aeb56693410b3d1e0128b1252fe9711961
parentc5d1f5562ea7f83fe911d6f9fcb3a32a8e1139ae
drm/i915: Forward declare struct intel_context

This is to avoid an error with structure declared in parameter list if the
include ordering changes.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180524150621.17332-2-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_gem_context.h