diff options
author | Lauri Peltonen <lpeltonen@nvidia.com> | 2017-07-10 08:06:31 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-14 05:54:35 -0400 |
commit | 2272cedfbacf271a0faacfd054240fea3027423d (patch) | |
tree | daed0c86be3ef5bb2ebb73ded95d66c301a8d85c /drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |
parent | 4074484f756734d9f1902944dc80966f3659bb39 (diff) |
gpu: nvgu: Support SET_BES_CROP_DEBUG3 sw method
The new SET_BES_CROP_DEBUG3 sw method is used to flip two fields
in the NV_PGRAPH_PRI_BES_CROP_DEBUG3 register. The sw method is
used by the user space driver to disable enough ROP optimizations
to maintain ZBC state of target tiles.
Bug 1942454
Change-Id: I3109fb4120674b15db4998693d0aa65bf0c3c8b5
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1516205
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
GVS: Gerrit_Virtual_Submit
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 6f3b5f0f..f44c60b0 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -1177,6 +1177,9 @@ static int gr_gv11b_handle_sw_method(struct gk20a *g, u32 addr, | |||
1177 | case NVC397_SET_SKEDCHECK: | 1177 | case NVC397_SET_SKEDCHECK: |
1178 | gr_gv11b_set_skedcheck(g, data); | 1178 | gr_gv11b_set_skedcheck(g, data); |
1179 | break; | 1179 | break; |
1180 | case NVC397_SET_BES_CROP_DEBUG3: | ||
1181 | g->ops.gr.set_bes_crop_debug3(g, data); | ||
1182 | break; | ||
1180 | default: | 1183 | default: |
1181 | goto fail; | 1184 | goto fail; |
1182 | } | 1185 | } |