mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Remove powergating API from safety build
For safety build, powergate APIs are not supposed to be used at run-time. Keeping needed partitions unpowergated by default for safety builds. Bug 200539825 Change-Id: I72148f12fd72e51cfe4d01d010f92f633c564810 Signed-off-by: Vaibhav Kachore <vkachore@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2165042 Reviewed-by: Shashank Singh <shashsingh@nvidia.com> Reviewed-by: Ankur Kishore <ankkishore@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
2eb3ba4fa2
commit
6a799732d8
@@ -186,6 +186,10 @@ NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_GR_FALCON_NON_SECURE_BO
|
||||
CONFIG_NVGPU_SW_SEMAPHORE := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_SW_SEMAPHORE
|
||||
|
||||
# Enable powergate lib for normal build
|
||||
CONFIG_NVGPU_USE_POWERGATE_LIB := 1
|
||||
NVGPU_COMMON_CFLAGS += -DCONFIG_NVGPU_USE_POWERGATE_LIB
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user