diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c index 0481eacf..cff889fb 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c | |||
@@ -226,6 +226,10 @@ gk20a_ctrl_ioctl_gpu_characteristics( | |||
226 | g->ops.mm.get_mmu_levels(g, pgpu->big_page_size)[0].lo_bit[0]; | 226 | g->ops.mm.get_mmu_levels(g, pgpu->big_page_size)[0].lo_bit[0]; |
227 | pgpu->available_big_page_sizes = nvgpu_mm_get_available_big_page_sizes(g); | 227 | pgpu->available_big_page_sizes = nvgpu_mm_get_available_big_page_sizes(g); |
228 | 228 | ||
229 | pgpu->sm_arch_sm_version = g->params.sm_arch_sm_version; | ||
230 | pgpu->sm_arch_spa_version = g->params.sm_arch_spa_version; | ||
231 | pgpu->sm_arch_warp_count = g->params.sm_arch_warp_count; | ||
232 | |||
229 | if (request->gpu_characteristics_buf_size > 0) { | 233 | if (request->gpu_characteristics_buf_size > 0) { |
230 | size_t write_size = sizeof(*pgpu); | 234 | size_t write_size = sizeof(*pgpu); |
231 | 235 | ||