]> git.baikalelectronics.ru Git - arm-tf.git/commit
Tegra: memctrl_v2: check GPU state before VPR programming
authorVarun Wadekar <vwadekar@nvidia.com>
Wed, 17 Feb 2016 18:10:50 +0000 (10:10 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 20 Mar 2017 16:14:39 +0000 (09:14 -0700)
commit67bc721b2bc321e07b1ea50c53dd35915dc2a949
tree728003229e614d72a28bb67651006f4131e30338
parent8020793fe0c660aa4601a66553636db39c8c2f4f
Tegra: memctrl_v2: check GPU state before VPR programming

The GPU is the real consumer of the video protected memory region
and it needs to be in reset to pick up the new region.

This patch checks if the GPU is in reset before we program the new
video protected memory region settings.

Change-Id: I44f553bfcf07b1975abad53b245954be966c8aeb
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/common/drivers/memctrl/memctrl_v2.c
plat/nvidia/tegra/soc/t186/plat_setup.c
plat/nvidia/tegra/soc/t186/platform_t186.mk