All of lore.kernel.org
 help / color / mirror / Atom feed
* [CI 1/7] drm/i915: Name the anonymous structs inside i915_ggtt_view
@ 2017-01-14  0:28 Chris Wilson
  2017-01-14  0:28 ` [CI 2/7] drm/i915: Mark the ggtt_view structs as packed Chris Wilson
                   ` (6 more replies)
  0 siblings, 7 replies; 15+ messages in thread
From: Chris Wilson @ 2017-01-14  0:28 UTC (permalink / raw)
  To: intel-gfx

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>
---
 drivers/gpu/drm/i915/i915_gem_gtt.h | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.h b/drivers/gpu/drm/i915/i915_gem_gtt.h
index 9f04c9febe4d..80f0cd534db6 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.h
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.h
@@ -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;
 };
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-01-23 14:45 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-14  0:28 [CI 1/7] drm/i915: Name the anonymous structs inside i915_ggtt_view Chris Wilson
2017-01-14  0:28 ` [CI 2/7] drm/i915: Mark the ggtt_view structs as packed Chris Wilson
2017-01-14  0:28 ` [CI 3/7] drm/i915: Compact memcmp in i915_vma_compare() Chris Wilson
2017-01-14  0:28 ` [CI 4/7] drm/i915: Stop clearing i915_ggtt_view Chris Wilson
2017-01-14  0:28 ` [CI 5/7] drm/i915: Convert i915_ggtt_view to use an anonymous union Chris Wilson
2017-01-14  0:28 ` [CI 6/7] drm/i915: Eliminate superfluous i915_ggtt_view_rotated Chris Wilson
2017-01-23 13:51   ` Matthew Auld
2017-01-23 14:02     ` Chris Wilson
2017-01-23 14:22       ` Matthew Auld
2017-01-23 14:39         ` Chris Wilson
2017-01-23 14:44           ` Chris Wilson
2017-01-23 14:02     ` Chris Wilson
2017-01-14  0:28 ` [CI 7/7] drm/i915: Eliminate superfluous i915_ggtt_view_normal Chris Wilson
2017-01-14  0:53 ` ✓ Fi.CI.BAT: success for series starting with [CI,1/7] drm/i915: Name the anonymous structs inside i915_ggtt_view Patchwork
2017-01-14 16:28   ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.