drm/atomic: Set current atomic state in drm_private_state
authorAlexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Wed, 30 May 2018 17:30:52 +0000 (18:30 +0100)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Jun 2018 20:35:41 +0000 (23:35 +0300)
commite89ea355966182007712c396a3b8e78255f17c32
tree8f9d5e270469f3b55bb4e9af69690dd274684060
parent6ab0edf4e79c42e3dc9c47e060a68d337af51be0
drm/atomic: Set current atomic state in drm_private_state

drm_private_state has a back pointer to the drm_atomic_state,
however that was not initialized in drm_atomic_get_private_obj_state
after duplication, as it is the case for other drm atomic getters

Signed-off-by: Alexandru Gheorghe <alexandru-cosmin.gheorghe@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1527701452-1934-1-git-send-email-alexandru-cosmin.gheorghe@arm.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/drm_atomic.c