drm/i915: move DP save/restore into i915_ums.c
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Jan 2013 16:53:22 +0000 (17:53 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 31 Jan 2013 10:50:04 +0000 (11:50 +0100)
commita65e827dd57b2fd48a698209dd7701eb13e72095
treeee9ee35ee897abed42b39992790b98c8d705f1e0
parent44cec74040564cba2ace8c3756d2fc908bc7a373
drm/i915: move DP save/restore into i915_ums.c

Note that this slightly changes the order, but we only move it within
the block of registers that restore encoder state. Specifically LVDS
is now restored after DP, whereas previously it was done before.

Legacy vga is still restored afterwards, which seems to be the
important thing (if there's anything important in this restore
ordering at all).

Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/i915_ums.c