drm/atomic: add drm_atomic_add_affected_planes
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 19 May 2015 14:41:02 +0000 (16:41 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 21 May 2015 08:29:07 +0000 (10:29 +0200)
commite01e9f75a0c4e6cdbf1f139e37e9161408e49b7c
tree7de1442d2cfa68763e3d943b07018a06f31b8cda
parentde28d0212a3ea7b92a9795cd0e5bfc7d15214677
drm/atomic: add drm_atomic_add_affected_planes

This is a convenience function to add all planes for a crtc,
similar to add_affected_connectors. This will be used in
drm_atomic_helper_check_modeset, but drivers can call it too
when they need to recalculate all state.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
[danvet: Amend kerneldoc a bit.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_atomic.c
include/drm/drm_atomic.h