drm/i915: restore RSTDBYCTL only on non-KMS paths
authorJani Nikula <jani.nikula@intel.com>
Tue, 11 Nov 2014 14:48:04 +0000 (16:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 09:29:27 +0000 (10:29 +0100)
commitc934a16732d781b29465ddff914b0c7c8fae28f1
treefdbd98e56716032c546c1ec8ba797c683f94ed8f
parentc7e20736fa91729330becdfd67cb545220a0c904
drm/i915: restore RSTDBYCTL only on non-KMS paths

Since RSTDBYCTL is only saved on non-KMS path in within i915_save_state,
move the restore in i915_restore_state for symmetry.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_suspend.c