diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2018-01-31 18:01:05 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-02-02 15:12:02 -0500 |
commit | 5cb742d228c6816e7fdd1220f4b4ee3378abf3dc (patch) | |
tree | 9499a43ae57f3bfc0c916bd5793cf5b25557b058 /drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |
parent | 98da3f8eed914225e9ffe0f768d7647506e95cdc (diff) |
gpu: nvgpu: gv11b: add scg support info in gpu characteristics
Indicated support for Simultaneous Compute and Graphics(SCG)
in gpu characteristics for gv11b.
Bug 2053932
Change-Id: I788e22242083dff775dd4cc5b9aa73c938028536
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1649805
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c index b751a337..398823f3 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -172,6 +172,8 @@ static struct nvgpu_flags_mapping flags_mapping[] = { | |||
172 | NVGPU_ECC_ENABLED_LTC}, | 172 | NVGPU_ECC_ENABLED_LTC}, |
173 | {NVGPU_GPU_FLAGS_SUPPORT_TSG_SUBCONTEXTS, | 173 | {NVGPU_GPU_FLAGS_SUPPORT_TSG_SUBCONTEXTS, |
174 | NVGPU_SUPPORT_TSG_SUBCONTEXTS}, | 174 | NVGPU_SUPPORT_TSG_SUBCONTEXTS}, |
175 | {NVGPU_GPU_FLAGS_SUPPORT_SCG, | ||
176 | NVGPU_SUPPORT_SCG}, | ||
175 | }; | 177 | }; |
176 | 178 | ||
177 | static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g) | 179 | static u64 nvgpu_ctrl_ioctl_gpu_characteristics_flags(struct gk20a *g) |