summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c2
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 cff889fb..3c6b1b26 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl.c
@@ -230,6 +230,8 @@ gk20a_ctrl_ioctl_gpu_characteristics(
230 pgpu->sm_arch_spa_version = g->params.sm_arch_spa_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; 231 pgpu->sm_arch_warp_count = g->params.sm_arch_warp_count;
232 232
233 pgpu->max_css_buffer_size = g->gr.max_css_buffer_size;
234
233 if (request->gpu_characteristics_buf_size > 0) { 235 if (request->gpu_characteristics_buf_size > 0) {
234 size_t write_size = sizeof(*pgpu); 236 size_t write_size = sizeof(*pgpu);
235 237