drm/i915: Use atomic state to obtain load detection crtc, v3.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 17 Feb 2016 08:18:35 +0000 (09:18 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 18 Feb 2016 09:41:42 +0000 (10:41 +0100)
commitedde361711ef8f396e401b25d970e329f68bec0b
tree648e0711db93d88320bfc070ef74597e02b5f157
parent9b58e352b463f2f096d699d47b1c4c57879b617f
drm/i915: Use atomic state to obtain load detection crtc, v3.

Instead of restoring dpms and a flag for whether a temp fb is allocated duplicate
an atomic state before the new state is committed, and commit it the old state
in intel_release_load_detect_pipe.

Changes since v1:
- Use a real atomic state. (Ville)
Changes since v2:
- Do not preserve shared_dpll any more, no need to do so. (Ville)

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1455697119-31416-2-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h