drm/i915: Updating plane parameters for primary plane in setplane
authorSonika Jindal <sonika.jindal@intel.com>
Thu, 21 Aug 2014 06:14:39 +0000 (11:44 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 3 Sep 2014 08:54:11 +0000 (10:54 +0200)
commitce54d85aba1e9f7065a3a0269854d31ed00b2490
tree3afe3359b28d82d7be578cbe5dfdbd4c8e03e22c
parent6689c167ae14c312972e89be1121e933e4de0001
drm/i915: Updating plane parameters for primary plane in setplane

This unifies how the primary plane functions work with how the sprite
functions works, which allows us to reuse them to update primary plane
properties.

v2: Moving setting of plane members in the end to take care of failure cases and
not-visible cases (Matt).

Signed-off-by: Sonika Jindal <sonika.jindal@intel.com>
Acked-by: Matt Roper <matthew.d.roper@intel.com>
[danvet: Add a real commit message.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c