projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ba1f9e
)
drm/i915: Name the anonymous structs inside i915_ggtt_view
author
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 14 Jan 2017 00:28:21 +0000
(
00:28
+0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Sat, 14 Jan 2017 16:17:43 +0000
(16:17 +0000)
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
drivers/gpu/drm/i915/i915_gem_gtt.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/i915_gem_gtt.h
b/drivers/gpu/drm/i915/i915_gem_gtt.h
index 9f04c9febe4d58c8fbc3d80e0204ce490901f744..80f0cd534db6fb467109adb1d4cb93eb29270082 100644
(file)
--- 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;
};