drm/i915: Eliminate obj->state usage from pre/post plane update
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 Aug 2017 15:22:24 +0000 (18:22 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 1 Sep 2017 13:51:25 +0000 (16:51 +0300)
commitf9a8c149e91ca18adfbadea5d562bc21197caf1a
treefe63eb92ff987adacf2a8f82d687d3c7b98e40c3
parentb2b55502d683c72d3bd3ce31af5bd5ab990061d7
drm/i915: Eliminate obj->state usage from pre/post plane update

Dig up the appropriate new crtc and plane states from the top level
atomic state in intel_pre_plane_update() and intel_post_plane_update().

Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170823152226.22938-5-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c