]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd9d74b054ed9119ddd9ed5ceda117e6500b5826b
treeee9ee35ee897abed42b39992790b98c8d705f1e0
parentf33694a26db5099ab185cf8e3c5739a8996fa6c3
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