Commit 7ff19c56 authored by Chris Wilson's avatar Chris Wilson

drm/i915: Name the anonymous structs inside i915_ggtt_view

Naming this pair will become useful shortly...
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170114002827.31315-1-chris@chris-wilson.co.uk
parent 6ba1f9e1
...@@ -152,20 +152,22 @@ enum i915_ggtt_view_type { ...@@ -152,20 +152,22 @@ enum i915_ggtt_view_type {
}; };
struct intel_rotation_info { struct intel_rotation_info {
struct { struct intel_rotation_plane_info {
/* tiles */ /* tiles */
unsigned int width, height, stride, offset; unsigned int width, height, stride, offset;
} plane[2]; } plane[2];
}; };
struct intel_partial_info {
u64 offset;
unsigned int size;
};
struct i915_ggtt_view { struct i915_ggtt_view {
enum i915_ggtt_view_type type; enum i915_ggtt_view_type type;
union { union {
struct { struct intel_partial_info partial;
u64 offset;
unsigned int size;
} partial;
struct intel_rotation_info rotated; struct intel_rotation_info rotated;
} params; } params;
}; };
......
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