OSDN Git Service

drm/atomic-helper: Rename commmit_post/pre_planes
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 22 Feb 2015 11:24:19 +0000 (12:24 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 24 Feb 2015 00:57:46 +0000 (01:57 +0100)
commit1af434a92871af93d97ce28e35497532a4167a0c
tree86253693a02e39bf5204a5dde82cb5866a428063
parenta072f809b69885c77262fb978b008ef9488d513e
drm/atomic-helper: Rename commmit_post/pre_planes

These names only make sense because of backwards compatability with
the order used by the crtc helper library. There's not really any real
requirement in the ordering here.

So rename them to something more descriptive and update the kerneldoc
a bit. Motivated in a discussion with Laurent about how to restore
plane state for dpms for drivers with runtime pm.

v2: Squash in fixup from Stephen Rothwell to fix a conflict with
tegra.

Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Acked-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/drm_atomic_helper.c
drivers/gpu/drm/i915/intel_atomic.c
drivers/gpu/drm/msm/msm_atomic.c
drivers/gpu/drm/tegra/drm.c
include/drm/drm_atomic_helper.h