summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv100/hal_gv100.c
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2018-01-18 14:02:08 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2018-01-22 18:29:54 -0500
commit193a2ed38ca51d898ac811820ab86237c84e18eb (patch)
treeda672582c2322fc91c7b5c600deb5a60f3068a8d /drivers/gpu/nvgpu/gv100/hal_gv100.c
parentf6d898656a6d7c197aa27ee53f5f0151fb6dfcf5 (diff)
gpu: nvgpu: add sw method for SET_BES_CROP_DEBUG4
Added sw method support for SET_BES_CROP_DEBUG4. In this sw method: CLAMP_FP_BLEND_TO_MAXVAL forces overflow and CLAMP_FP_BLEND_TO_INF blend results to clamp to FP maxval. Added support for this sw method in gp10b/gp106/gv11b and gv100. Bug 2046636 Change-Id: I3a9e97587aca76718f7f504ea3b853f87409092a Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1641529 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
-rw-r--r--drivers/gpu/nvgpu/gv100/hal_gv100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/hal_gv100.c b/drivers/gpu/nvgpu/gv100/hal_gv100.c
index 0768ed0c..ca41a90b 100644
--- a/drivers/gpu/nvgpu/gv100/hal_gv100.c
+++ b/drivers/gpu/nvgpu/gv100/hal_gv100.c
@@ -400,6 +400,7 @@ static const struct gpu_ops gv100_ops = {
400 .init_preemption_state = NULL, 400 .init_preemption_state = NULL,
401 .update_boosted_ctx = gr_gp10b_update_boosted_ctx, 401 .update_boosted_ctx = gr_gp10b_update_boosted_ctx,
402 .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3, 402 .set_bes_crop_debug3 = gr_gp10b_set_bes_crop_debug3,
403 .set_bes_crop_debug4 = gr_gp10b_set_bes_crop_debug4,
403 .create_gr_sysfs = gr_gv11b_create_sysfs, 404 .create_gr_sysfs = gr_gv11b_create_sysfs,
404 .set_ctxsw_preemption_mode = gr_gp10b_set_ctxsw_preemption_mode, 405 .set_ctxsw_preemption_mode = gr_gp10b_set_ctxsw_preemption_mode,
405 .is_etpc_addr = gv11b_gr_pri_is_etpc_addr, 406 .is_etpc_addr = gv11b_gr_pri_is_etpc_addr,