Tegra186: memctrl_v2: restore video memory settings
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 3 Mar 2016 21:22:39 +0000 (13:22 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 22 Mar 2017 18:38:16 +0000 (11:38 -0700)
commitea96ac175e1778d1abedf3bed4e5606c8734e572
tree212ab0ad4c36fa8fdee51118d834d05337fa9196
parent4122151f6d0809de7b8d0b6b78c547307c16d99f
Tegra186: memctrl_v2: restore video memory settings

The memory controller loses its settings when the device enters system
suspend state.

This patch adds a handler to restore the Video Memory settings in the
memory controller, which would be called after exiting the system suspend
state.

Change-Id: I1ac12426d7290ac1452983d3c9e05fabbf3327fa
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
plat/nvidia/tegra/include/drivers/memctrl_v2.h