drm: Add drm_atomic_get_old/new_private_obj_state
authorjames qian wang (Arm Technology China) <james.qian.wang@arm.com>
Tue, 22 Jan 2019 11:05:41 +0000 (11:05 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 29 Apr 2019 11:35:56 +0000 (12:35 +0100)
commit9801a7eadf4cc29cdc90583a49f12decbb832ced
treeb3a910508da90107fec15f80909faa668fbc03a8
parent7c13e5cc2391950541f41fc9ab0336aae77c7f63
drm: Add drm_atomic_get_old/new_private_obj_state

This pair of functions return the old/new private object state for the
given private_obj, or NULL if the private_obj is not part of the global
atomic state.

Reviewed-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Signed-off-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
drivers/gpu/drm/drm_atomic.c
include/drm/drm_atomic.h