]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Consolidate plane 'prepare' functions (v2)
authorMatt Roper <matthew.d.roper@intel.com>
Mon, 1 Dec 2014 23:40:14 +0000 (15:40 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 6 Dec 2014 00:46:24 +0000 (01:46 +0100)
commite3d8cd0a3b683990dd7a37970a1aee24d778af9c
treeacdd2aa3682f34882602f7c02680a31ca8056ec2
parent0ca37eba71146a19c952b67bcbd0cec8fa6a1c8c
drm/i915: Consolidate plane 'prepare' functions (v2)

The 'prepare' step for all types of planes are pretty similar;
consolidate the three 'prepare' functions into a single function.  This
paves the way for future integration with the atomic plane handlers.

Note that we pull the 'wait for pending flips' functionality out of the
primary plane's prepare step and place it directly in the 'setplane'
code.  When we move to the atomic plane handlers, this code will be in
the 'atomic begin' step.

v2: Update GEM fb tracking for physical cursors also (Ander)

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