aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-12-17 01:48:43 -0500
committerEric Anholt <eric@anholt.net>2010-02-16 14:48:43 -0500
commitc4804411691bdd7d8a57e942cbb502fd52a90074 (patch)
tree531ffc5769370909b692336e32c51c44f04a6cbd /drivers/gpu/drm/i915/i915_drv.h
parent29105ccc43ead5a0179d04b1404611981e92e278 (diff)
drm/i915: Keep MCHBAR always enabled
As we need more and more controls within MCHBAR for memory config and power management, this trys to keep MCHBAR enabled from driver load and only tear down in driver unload. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index b99b6a841d9..f2742d6d3f5 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -590,6 +590,7 @@ typedef struct drm_i915_private {
590 int child_dev_num; 590 int child_dev_num;
591 struct child_device_config *child_dev; 591 struct child_device_config *child_dev;
592 struct drm_connector *int_lvds_connector; 592 struct drm_connector *int_lvds_connector;
593 bool mchbar_need_disable;
593} drm_i915_private_t; 594} drm_i915_private_t;
594 595
595/** driver private structure attached to each drm_gem_object */ 596/** driver private structure attached to each drm_gem_object */