aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-12-17 14:48:43 +0800
committerEric Anholt <eric@anholt.net>2010-02-16 11:48:43 -0800
commitc4804411691bdd7d8a57e942cbb502fd52a90074 (patch)
tree531ffc5769370909b692336e32c51c44f04a6cbd /drivers/gpu/drm/i915/i915_drv.h
parent29105ccc43ead5a0179d04b1404611981e92e278 (diff)
downloadkernel_samsung_aries-c4804411691bdd7d8a57e942cbb502fd52a90074.zip
kernel_samsung_aries-c4804411691bdd7d8a57e942cbb502fd52a90074.tar.gz
kernel_samsung_aries-c4804411691bdd7d8a57e942cbb502fd52a90074.tar.bz2
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 b99b6a8..f2742d6 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 {
int child_dev_num;
struct child_device_config *child_dev;
struct drm_connector *int_lvds_connector;
+ bool mchbar_need_disable;
} drm_i915_private_t;
/** driver private structure attached to each drm_gem_object */