diff options
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/hal_gp10b.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv100/hal_gv100.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/hal_gv11b.c | 2 | ||||
-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 |
5 files changed, 10 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c index a03ad28a..97c273cb 100644 --- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c +++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c | |||
@@ -335,7 +335,9 @@ static const struct gpu_ops gp10b_ops = { | |||
335 | .init_preemption_state = gr_gp10b_init_preemption_state, | 335 | .init_preemption_state = gr_gp10b_init_preemption_state, |
336 | .update_boosted_ctx = gr_gp10b_update_boosted_ctx, | 336 | .update_boosted_ctx = gr_gp10b_update_boosted_ctx, |
337 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, | 337 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, |
338 | #ifdef CONFIG_SYSFS | ||
338 | .create_gr_sysfs = gr_gp10b_create_sysfs, | 339 | .create_gr_sysfs = gr_gp10b_create_sysfs, |
340 | #endif | ||
339 | .set_ctxsw_preemption_mode = gr_gp10b_set_ctxsw_preemption_mode, | 341 | .set_ctxsw_preemption_mode = gr_gp10b_set_ctxsw_preemption_mode, |
340 | .init_ctxsw_hdr_data = gr_gp10b_init_ctxsw_hdr_data, | 342 | .init_ctxsw_hdr_data = gr_gp10b_init_ctxsw_hdr_data, |
341 | .init_gfxp_wfi_timeout_count = | 343 | .init_gfxp_wfi_timeout_count = |
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c index c9ea2c2b..1091cbd2 100644 --- a/drivers/gpu/nvgpu/gv100/hal_gv100.c +++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c | |||
@@ -399,7 +399,9 @@ static const struct gpu_ops gv100_ops = { | |||
399 | .update_boosted_ctx = gr_gp10b_update_boosted_ctx, | 399 | .update_boosted_ctx = gr_gp10b_update_boosted_ctx, |
400 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, | 400 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, |
401 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, | 401 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, |
402 | #ifdef CONFIG_SYSFS | ||
402 | .create_gr_sysfs = gr_gv11b_create_sysfs, | 403 | .create_gr_sysfs = gr_gv11b_create_sysfs, |
404 | #endif | ||
403 | .set_ctxsw_preemption_mode = gr_gp10b_set_ctxsw_preemption_mode, | 405 | .set_ctxsw_preemption_mode = gr_gp10b_set_ctxsw_preemption_mode, |
404 | .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, | 406 | .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, |
405 | .egpc_etpc_priv_addr_table = gv11b_gr_egpc_etpc_priv_addr_table, | 407 | .egpc_etpc_priv_addr_table = gv11b_gr_egpc_etpc_priv_addr_table, |
diff --git a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c index dd4bd55a..9fccce0b 100644 --- a/drivers/gpu/nvgpu/gv11b/hal_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/hal_gv11b.c | |||
@@ -364,7 +364,9 @@ static const struct gpu_ops gv11b_ops = { | |||
364 | .update_boosted_ctx = gr_gp10b_update_boosted_ctx, | 364 | .update_boosted_ctx = gr_gp10b_update_boosted_ctx, |
365 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, | 365 | .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, |
366 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, | 366 | .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4, |
367 | #ifdef CONFIG_SYSFS | ||
367 | .create_gr_sysfs = gr_gv11b_create_sysfs, | 368 | .create_gr_sysfs = gr_gv11b_create_sysfs, |
369 | #endif | ||
368 | .set_ctxsw_preemption_mode = gr_gv11b_set_ctxsw_preemption_mode, | 370 | .set_ctxsw_preemption_mode = gr_gv11b_set_ctxsw_preemption_mode, |
369 | .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, | 371 | .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, |
370 | .egpc_etpc_priv_addr_table = gv11b_gr_egpc_etpc_priv_addr_table, | 372 | .egpc_etpc_priv_addr_table = gv11b_gr_egpc_etpc_priv_addr_table, |
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, |