mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: Create separate VM space for SEC2/GSP engine
Currently SEC2/GSP uses the PMU VM space for memory access which adds dependency on PMU, So, created separate VM space for SEC2/GSP of size 32MB as currently used for ucode handling by these units. SEC2/GSP VM space allocation happens if NVGPU_SUPPORT_SEC2_VM/ NVGPU_SUPPORT_GSP_VM enable flags set. JIRA NVGPU-2910 Change-Id: I4dfe50a1c0adb7e83379bf6c15343fe57ff44c38 Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2077596 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
e4a140b7c0
commit
a67729dcfc
@@ -185,10 +185,16 @@ struct gk20a;
|
||||
/* PLATFORM_ATOMIC support */
|
||||
#define NVGPU_SUPPORT_PLATFORM_ATOMIC 72
|
||||
|
||||
/* SEC2 VM support */
|
||||
#define NVGPU_SUPPORT_SEC2_VM 73
|
||||
|
||||
/* GSP VM support */
|
||||
#define NVGPU_SUPPORT_GSP_VM 74
|
||||
|
||||
/*
|
||||
* Must be greater than the largest bit offset in the above list.
|
||||
*/
|
||||
#define NVGPU_MAX_ENABLED_BITS 73U
|
||||
#define NVGPU_MAX_ENABLED_BITS 75U
|
||||
|
||||
/**
|
||||
* nvgpu_is_enabled - Check if the passed flag is enabled.
|
||||
|
||||
Reference in New Issue
Block a user