drm/i915: Add crtc state duplication/destruction functions
authorMatt Roper <matthew.d.roper@intel.com>
Thu, 22 Jan 2015 00:35:47 +0000 (16:35 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:57:18 +0000 (09:57 +0100)
commit1356837e55e273c9178c13f5fbddf086da285283
tree6c8f72f0a9b6f041c1c338f090b4cb8d775661e1
parent2545e4a6c8f5ae819635403390d940b595c26241
drm/i915: Add crtc state duplication/destruction functions

The atomic helpers need these to prepare a new state object when
starting a new atomic operation.

Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h