drm/i915: Switch planes from transitional helpers to full atomic helpers
authorMatt Roper <matthew.d.roper@intel.com>
Sat, 31 Jan 2015 00:22:37 +0000 (16:22 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:27:58 +0000 (23:27 +0100)
commit3f678c96abb43a977d2ea41aefccdc49e8a3e896
tree6e458dd3dffc83d96a198bb54151c975fcab1aea
parent1ed1f968b6bec3a8fbeb99b796854f63bdffc558
drm/i915: Switch planes from transitional helpers to full atomic helpers

There are two sets of helper functions provided by the DRM core that can
implement the .update_plane() and .disable_plane() hooks in terms of a
driver's atomic entrypoints.  The transitional helpers (which we have
been using so far) create a plane state and then use the plane's atomic
entrypoints to perform the atomic begin/check/prepare/commit/finish
sequence on that single plane only.  The full atomic helpers create a
top-level atomic state (which is capable of holding multiple object
states for planes, crtc's, and/or connectors) and then passes the
top-level atomic state through the full "atomic modeset" pipeline.

Switching from the transitional to full helpers here shouldn't result in
any functional change, but will enable us to exercise/test more of the
internal atomic pipeline with the legacy API's used by existing
applications.

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