mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
gpu: nvgpu: linux: Disable diversity related support
SM and CE diversities are safety only features. Hence, we do not require to expose their ioctl and diversity related flags for Linux. JIRA NVGPU-4133 Bug 2776580 Change-Id: Icc3cc04734ffdcd901222206fca9a3594340d0e1 Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2258872 Reviewed-by: Shashank Singh <shashsingh@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
80f408632a
commit
d0bc8237e3
@@ -294,8 +294,7 @@ struct nvgpu_gpu_characteristics {
|
||||
__u8 reserved2[6];
|
||||
|
||||
__u32 max_ctxsw_ring_buffer_size;
|
||||
/* Max CTA diversity configuration count. */
|
||||
__u32 max_sm_diversity_config_count;
|
||||
__u32 reserved3;
|
||||
|
||||
/* Notes:
|
||||
- This struct can be safely appended with new fields. However, always
|
||||
@@ -460,8 +459,6 @@ struct nvgpu_gpu_vsms_mapping_entry {
|
||||
};
|
||||
|
||||
struct nvgpu_gpu_vsms_mapping {
|
||||
__u32 sm_diversity_config;
|
||||
__u32 reserved;
|
||||
__u64 vsms_map_buf_addr;
|
||||
};
|
||||
|
||||
@@ -1524,8 +1521,6 @@ struct nvgpu_set_nvmap_fd_args {
|
||||
struct nvgpu_alloc_obj_ctx_args {
|
||||
__u32 class_num; /* kepler3d, 2d, compute, etc */
|
||||
__u32 flags; /* input, output */
|
||||
__u32 sm_diversity_config; /* input */
|
||||
__u32 reserved;
|
||||
__u64 obj_id; /* output, used to free later */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user