diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2018-01-18 14:02:08 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-01-22 18:29:54 -0500 |
commit | 193a2ed38ca51d898ac811820ab86237c84e18eb (patch) | |
tree | da672582c2322fc91c7b5c600deb5a60f3068a8d /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | f6d898656a6d7c197aa27ee53f5f0151fb6dfcf5 (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/gv11b/gr_gv11b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 3030def8..9c79b29b 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1193,6 +1193,9 @@ int gr_gv11b_handle_sw_method(struct gk20a *g, u32 addr, | |||
1193 | case NVC397_SET_BES_CROP_DEBUG3: | 1193 | case NVC397_SET_BES_CROP_DEBUG3: |
1194 | g->ops.gr.set_bes_crop_debug3(g, data); | 1194 | g->ops.gr.set_bes_crop_debug3(g, data); |
1195 | break; | 1195 | break; |
1196 | case NVC397_SET_BES_CROP_DEBUG4: | ||
1197 | g->ops.gr.set_bes_crop_debug4(g, data); | ||
1198 | break; | ||
1196 | default: | 1199 | default: |
1197 | goto fail; | 1200 | goto fail; |
1198 | } | 1201 | } |