drm/tegra: hub: Use state directly
authorStefan Schake <stschake@gmail.com>
Wed, 18 Apr 2018 10:40:19 +0000 (03:40 -0700)
committerThierry Reding <treding@nvidia.com>
Fri, 4 May 2018 09:37:03 +0000 (11:37 +0200)
commitb1a3dc0b85bde4d8d549ea3aa31106b599694f37
tree254cfed34fbf7de01f2bc99aace43218a3bacaf9
parent60cc43fc888428bb2f18f08997432d426a243338
drm/tegra: hub: Use state directly

Using drm_atomic_get_private_obj_state() after state has been swapped
will return old state.

Fixes: 0281c4149021 ("drm/tegra: hub: Use private object for global state")
Signed-off-by: Stefan Schake <stschake@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hub.c