drm/i915: Ensure crtc_state backpointer is always initialized
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 25 Feb 2015 19:43:26 +0000 (11:43 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 25 Feb 2015 23:14:17 +0000 (00:14 +0100)
commit07878248a8dd50355482995f86e756952b979def
tree63a713256d2b73042fe8ceb0f7267d660fd5c7b8
parent83d657388a4c7437fcef80c0b75909b2c9dafd01
drm/i915: Ensure crtc_state backpointer is always initialized

As we transition to full atomic modesetting, we want to be able to pass
intel_crtc_state around in various places that we pass intel_crtc
directly today.  Ensure that the ->crtc backpointer is properly
initialized in case we need to get back to the associated CRTC.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c