]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45e07af6fd57e61491a08a266cf21bdc0f24770f
tree63a713256d2b73042fe8ceb0f7267d660fd5c7b8
parent702fbacc9efa30e61888624ee7f9e5ccdf38791c
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