drm/atomic: add drm_atomic_get_existing_*_state helpers
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 13 May 2015 08:37:25 +0000 (10:37 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 May 2015 09:28:22 +0000 (11:28 +0200)
commit1b26a5e1932beb34c4213934d8faf02217fc40e4
tree73544f13d36756311357dbe921e7184d28f28aa3
parentf9be5f20115441488c8ef1391ef70b681135f0ad
drm/atomic: add drm_atomic_get_existing_*_state helpers

There are cases where we want to test if a given object is
part of the state, but don't want to add them if they're not.

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