mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: add user interface for profiler v2 support
Add user interface of new dev nodes and corresponding IOCTLs to support new profiler design. Bug 2510974 Jira NVGPU-5360 Change-Id: Ib257fa826a2282ffb463b1238f6092a1c9b9b2dc Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2340563 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
881a6f35be
commit
14ad3b21af
@@ -270,7 +270,13 @@ static struct nvgpu_flags_mapping flags_mapping[] = {
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_ZBC,
|
||||
NVGPU_SUPPORT_ZBC},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_MIG,
|
||||
NVGPU_SUPPORT_MIG}
|
||||
NVGPU_SUPPORT_MIG},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_PROFILER_V2_DEVICE,
|
||||
NVGPU_SUPPORT_PROFILER_V2_DEVICE},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_PROFILER_V2_CONTEXT,
|
||||
NVGPU_SUPPORT_PROFILER_V2_CONTEXT},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_SMPC_GLOBAL_MODE,
|
||||
NVGPU_SUPPORT_SMPC_GLOBAL_MODE},
|
||||
};
|
||||
|
||||
static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g)
|
||||
|
||||
Reference in New Issue
Block a user