summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorLauri Peltonen <lpeltonen@nvidia.com>2017-07-10 08:00:50 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-14 05:54:28 -0400
commitd3415f27c465b057a828c51dba7d8c1f70f4d289 (patch)
tree83acf16739ef656c1bd1b8e95e4f4a650a6c8661 /drivers/gpu/nvgpu/gk20a/gk20a.h
parentb1159ea6a19efdabe5205c654637f114e5f415bb (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: Id4e4d9d06c6c66080d06b6d4694546fe5cba8436 Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1516202 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index c7ade5f6..b1881827 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -182,6 +182,7 @@ struct gpu_ops {
182 void (*set_alpha_circular_buffer_size)(struct gk20a *g, 182 void (*set_alpha_circular_buffer_size)(struct gk20a *g,
183 u32 data); 183 u32 data);
184 void (*set_circular_buffer_size)(struct gk20a *g, u32 data); 184 void (*set_circular_buffer_size)(struct gk20a *g, u32 data);
185 void (*set_bes_crop_debug3)(struct gk20a *g, u32 data);
185 void (*enable_hww_exceptions)(struct gk20a *g); 186 void (*enable_hww_exceptions)(struct gk20a *g);
186 bool (*is_valid_class)(struct gk20a *g, u32 class_num); 187 bool (*is_valid_class)(struct gk20a *g, u32 class_num);
187 bool (*is_valid_gfx_class)(struct gk20a *g, u32 class_num); 188 bool (*is_valid_gfx_class)(struct gk20a *g, u32 class_num);