mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-14 06:24:53 +08:00
drm/i915: Name the anonymous structs inside i915_ggtt_view
Naming this pair will become useful shortly... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170114002827.31315-1-chris@chris-wilson.co.uk
This commit is contained in:
parent
6ba1f9e177
commit
7ff19c560f
@ -152,20 +152,22 @@ enum i915_ggtt_view_type {
|
||||
};
|
||||
|
||||
struct intel_rotation_info {
|
||||
struct {
|
||||
struct intel_rotation_plane_info {
|
||||
/* tiles */
|
||||
unsigned int width, height, stride, offset;
|
||||
} plane[2];
|
||||
};
|
||||
|
||||
struct intel_partial_info {
|
||||
u64 offset;
|
||||
unsigned int size;
|
||||
};
|
||||
|
||||
struct i915_ggtt_view {
|
||||
enum i915_ggtt_view_type type;
|
||||
|
||||
union {
|
||||
struct {
|
||||
u64 offset;
|
||||
unsigned int size;
|
||||
} partial;
|
||||
struct intel_partial_info partial;
|
||||
struct intel_rotation_info rotated;
|
||||
} params;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user