Tegra: sip: add VPR resize enabled check
The Memory Controller provides a control register to check
if the video memory can be resized. The previous bootloader
might have locked this feature, which will be reflected by
this register.

This patch reads the control register before processing
a video memory resize request. An error code, -ENOTSUP,
is returned if the feature is locked.

Change-Id: Ia1d67f7a94aa15c6b18ff5c9b9b952e179596ae3
Signed-off-by: Anthony Zhou <anzhou@nvidia.com>
1 parent 2561cb5 commit e9b9c2c830f4f65a121876e00c61f3167501f5b7
@Anthony Zhou Anthony Zhou authored on 4 Dec 2019
Varun Wadekar committed on 27 Aug 2020
Showing 6 changed files
View
plat/nvidia/tegra/common/tegra_sip_calls.c
View
plat/nvidia/tegra/drivers/memctrl/memctrl_v2.c
View
plat/nvidia/tegra/include/t132/tegra_def.h
View
plat/nvidia/tegra/include/t186/tegra_def.h
View
plat/nvidia/tegra/include/t194/tegra_def.h
View
plat/nvidia/tegra/include/t210/tegra_def.h