Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Maarten Lankhorst 06ea0b0897 drm/i915: Make intel_display_suspend atomic, v2.
Calculate all state using a normal transition, but afterwards fudge
crtc->state->active back to its old value. This should still allow
state restore in setup_hw_state to work properly.

Calling intel_set_mode will cause intel_display_set_init_power to be
called, make sure init_power gets set again afterwards.

Changes since v1:
- Fix to compile with v2 of the patch that adds intel_display_suspend.
- Add intel_display_set_init_power.
- Set return value to int to allow error checking.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2015-06-12 13:19:34 +03:00
..
2015-05-07 13:09:25 +10:00
2015-06-04 09:23:51 +10:00
2015-05-26 16:17:06 +10:00
2015-06-03 14:17:38 +02:00
2015-05-26 15:50:42 +02:00
2015-05-26 15:50:42 +02:00
2015-05-05 09:46:38 +02:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-05-29 09:17:57 +10:00
2015-03-13 17:37:35 +01:00
2015-03-13 17:37:35 +01:00
2015-06-03 14:17:38 +02:00