drm/i915: initialize power wells in modeset_init_hw
authorEugeni Dodonov <eugeni.dodonov@intel.com>
Fri, 6 Jul 2012 18:42:36 +0000 (15:42 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 20 Jul 2012 10:21:36 +0000 (12:21 +0200)
commit0232e927f8b0b37f5c82648f9bc45e55fb245068
tree36a413a56c16a821cb631df331e4d95e739815d3
parentff9282613f6796db3fe85dc6cbb995223078f581
drm/i915: initialize power wells in modeset_init_hw

This initializes power wells within the modeset_init_hw routine.
Testing has shown that this works for both driver load time and for
suspend-resume code paths.

Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_pm.c