diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-02 14:55:07 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-11-11 17:51:40 -0500 |
commit | a4da4fa4e55a8cea7fe603e7564e72db97b77a89 (patch) | |
tree | 2d8dc78dfdc218c5bf872477db79b6fd227d08fc /drivers/gpu/drm/i915/i915_drv.h | |
parent | 231f42a48f744c9a4f53752948fad2d793638937 (diff) |
drm/i915: extract l3_parity substruct from dev_priv
Pretty astonishing how far apart these two members landed ... Especially since
I've already removed almost 200 lines in between.
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index ad3c4c134e2d..135b9db55279 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h | |||
@@ -599,6 +599,11 @@ struct i915_dri1_state { | |||
599 | uint32_t counter; | 599 | uint32_t counter; |
600 | }; | 600 | }; |
601 | 601 | ||
602 | struct intel_l3_parity { | ||
603 | u32 *remap_info; | ||
604 | struct work_struct error_work; | ||
605 | }; | ||
606 | |||
602 | typedef struct drm_i915_private { | 607 | typedef struct drm_i915_private { |
603 | struct drm_device *dev; | 608 | struct drm_device *dev; |
604 | 609 | ||
@@ -760,8 +765,6 @@ typedef struct drm_i915_private { | |||
760 | /** PPGTT used for aliasing the PPGTT with the GTT */ | 765 | /** PPGTT used for aliasing the PPGTT with the GTT */ |
761 | struct i915_hw_ppgtt *aliasing_ppgtt; | 766 | struct i915_hw_ppgtt *aliasing_ppgtt; |
762 | 767 | ||
763 | u32 *l3_remap_info; | ||
764 | |||
765 | struct shrinker inactive_shrinker; | 768 | struct shrinker inactive_shrinker; |
766 | 769 | ||
767 | /** | 770 | /** |
@@ -865,6 +868,8 @@ typedef struct drm_i915_private { | |||
865 | 868 | ||
866 | bool mchbar_need_disable; | 869 | bool mchbar_need_disable; |
867 | 870 | ||
871 | struct intel_l3_parity l3_parity; | ||
872 | |||
868 | /* gen6+ rps state */ | 873 | /* gen6+ rps state */ |
869 | struct intel_gen6_power_mgmt rps; | 874 | struct intel_gen6_power_mgmt rps; |
870 | 875 | ||
@@ -887,7 +892,6 @@ typedef struct drm_i915_private { | |||
887 | struct drm_property *broadcast_rgb_property; | 892 | struct drm_property *broadcast_rgb_property; |
888 | struct drm_property *force_audio_property; | 893 | struct drm_property *force_audio_property; |
889 | 894 | ||
890 | struct work_struct parity_error_work; | ||
891 | bool hw_contexts_disabled; | 895 | bool hw_contexts_disabled; |
892 | uint32_t hw_context_size; | 896 | uint32_t hw_context_size; |
893 | 897 | ||