mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
nvgpu: linux: uapi: Add MIG characteristics flag
* Add MIG gpu characteristics flag * Add MIG support flag JIRA NVGPU-5762 Change-Id: Id3b9ec56ab48a8d0828c96881e586f4987b167d6 Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2369122 Reviewed-by: automaticguardword <automaticguardword@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Alex Waterman
parent
06a43f2adc
commit
530381ee86
@@ -268,7 +268,9 @@ static struct nvgpu_flags_mapping flags_mapping[] = {
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_I2M,
|
||||
NVGPU_SUPPORT_I2M},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_ZBC,
|
||||
NVGPU_SUPPORT_ZBC}
|
||||
NVGPU_SUPPORT_ZBC},
|
||||
{NVGPU_GPU_FLAGS_SUPPORT_MIG,
|
||||
NVGPU_SUPPORT_MIG}
|
||||
};
|
||||
|
||||
static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g)
|
||||
@@ -436,7 +438,6 @@ gk20a_ctrl_ioctl_gpu_characteristics(
|
||||
nvgpu_set_preemption_mode_flags(g, &gpu);
|
||||
|
||||
/* Default values for legacy mode (non MIG) */
|
||||
gpu.mig_enabled = false;
|
||||
gpu.gpu_instance_id = 0x0;
|
||||
gpu.gr_sys_pipe_id = 0x0;
|
||||
gpu.gr_instance_id = 0x0;
|
||||
|
||||
Reference in New Issue
Block a user