Commit 8359768c authored by Tvrtko Ursulin's avatar Tvrtko Ursulin

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: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180524150621.17332-2-tvrtko.ursulin@linux.intel.com
parent c5d1f556
...@@ -46,6 +46,8 @@ struct intel_ring; ...@@ -46,6 +46,8 @@ struct intel_ring;
#define DEFAULT_CONTEXT_HANDLE 0 #define DEFAULT_CONTEXT_HANDLE 0
struct intel_context;
struct intel_context_ops { struct intel_context_ops {
void (*unpin)(struct intel_context *ce); void (*unpin)(struct intel_context *ce);
void (*destroy)(struct intel_context *ce); void (*destroy)(struct intel_context *ce);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment