diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c index 1da114ac..4ee50f25 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_hal_gp10b.c | |||
@@ -213,7 +213,9 @@ static const struct gpu_ops vgpu_gp10b_ops = { | |||
213 | .update_boosted_ctx = NULL, | 213 | .update_boosted_ctx = NULL, |
214 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, | 214 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, |
215 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, | 215 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, |
216 | #ifdef CONFIG_SYSFS | ||
216 | .create_gr_sysfs = gr_gp10b_create_sysfs, | 217 | .create_gr_sysfs = gr_gp10b_create_sysfs, |
218 | #endif | ||
217 | .set_ctxsw_preemption_mode = | 219 | .set_ctxsw_preemption_mode = |
218 | vgpu_gr_gp10b_set_ctxsw_preemption_mode, | 220 | vgpu_gr_gp10b_set_ctxsw_preemption_mode, |
219 | .init_ctxsw_hdr_data = gr_gp10b_init_ctxsw_hdr_data, | 221 | .init_ctxsw_hdr_data = gr_gp10b_init_ctxsw_hdr_data, |
diff --git a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c index cfbdbbad..ae30246f 100644 --- a/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c +++ b/drivers/gpu/nvgpu/vgpu/gv11b/vgpu_hal_gv11b.c | |||
@@ -229,7 +229,9 @@ static const struct gpu_ops vgpu_gv11b_ops = { | |||
229 | .update_boosted_ctx = NULL, | 229 | .update_boosted_ctx = NULL, |
230 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, | 230 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, |
231 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, | 231 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, |
232 | #ifdef CONFIG_SYSFS | ||
232 | .create_gr_sysfs = gr_gv11b_create_sysfs, | 233 | .create_gr_sysfs = gr_gv11b_create_sysfs, |
234 | #endif | ||
233 | .set_ctxsw_preemption_mode = vgpu_gr_gp10b_set_ctxsw_preemption_mode, | 235 | .set_ctxsw_preemption_mode = vgpu_gr_gp10b_set_ctxsw_preemption_mode, |
234 | .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, | 236 | .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, |
235 | .egpc_etpc_priv_addr_table = gv11b_gr_egpc_etpc_priv_addr_table, | 237 | .egpc_etpc_priv_addr_table = gv11b_gr_egpc_etpc_priv_addr_table, |