drm/atomic: Convert get_existing_state callers to get_old/new_state, v4.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 1 Mar 2017 09:22:10 +0000 (10:22 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 6 Mar 2017 10:43:05 +0000 (11:43 +0100)
commitb4d93679d0eb0dd7a894726fc38d14cdf4f04cc7
treee2374dbf111cdb3e79f8c7d55f15e8b01145c97c
parent2107777c0249e95f9493f3341dcb4fd89b965385
drm/atomic: Convert get_existing_state callers to get_old/new_state, v4.

This is a straightforward conversion that converts all the users of
get_existing_state in atomic core to use get_old_state or get_new_state

Changes since v1:
- Fix using the wrong state in drm_atomic_helper_update_legacy_modeset_state.
Changes since v2:
- Use the correct state in disable_outputs()
Changes since v3:
- Rebase for link status training.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/df91a9f9-005e-bcbd-1f74-03c38e1e21dd@linux.intel.com
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/drm_atomic.c
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/drm_blend.c
drivers/gpu/drm/drm_simple_kms_helper.c