summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
diff options
context:
space:
mode:
authorLauri Peltonen <lpeltonen@nvidia.com>2017-07-10 08:06:31 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-07-14 05:54:35 -0400
commit2272cedfbacf271a0faacfd054240fea3027423d (patch)
treedaed0c86be3ef5bb2ebb73ded95d66c301a8d85c /drivers/gpu/nvgpu/gv11b/gr_gv11b.h
parent4074484f756734d9f1902944dc80966f3659bb39 (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.h')
-rw-r--r--drivers/gpu/nvgpu/gv11b/gr_gv11b.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
index 1e060bd0..e6149b37 100644
--- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
+++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.h
@@ -41,6 +41,7 @@ enum {
41#define NVC397_SET_GO_IDLE_TIMEOUT 0x022c 41#define NVC397_SET_GO_IDLE_TIMEOUT 0x022c
42#define NVC397_SET_TEX_IN_DBG 0x10bc 42#define NVC397_SET_TEX_IN_DBG 0x10bc
43#define NVC397_SET_SKEDCHECK 0x10c0 43#define NVC397_SET_SKEDCHECK 0x10c0
44#define NVC397_SET_BES_CROP_DEBUG3 0x10c4
44 45
45#define NVC397_SET_TEX_IN_DBG_TSL1_RVCH_INVALIDATE 0x1 46#define NVC397_SET_TEX_IN_DBG_TSL1_RVCH_INVALIDATE 0x1
46#define NVC397_SET_TEX_IN_DBG_SM_L1TAG_CTRL_CACHE_SURFACE_LD 0x2 47#define NVC397_SET_TEX_IN_DBG_SM_L1TAG_CTRL_CACHE_SURFACE_LD 0x2