summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm20b
diff options
context:
space:
mode:
authorKen Adams <kadams@nvidia.com>2014-04-21 21:21:09 -0400
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:09:42 -0400
commit0f2498ca09ed5642207e42560c9e89faebf2f455 (patch)
tree395f5bb182b30123cd41911488f93bf611d69543 /drivers/gpu/nvgpu/gm20b
parenta9f75f87937a2d9ad88bbd992ee3d5c91c18c260 (diff)
gpu: nvgpu: gk20a, gm20b headers
update headers from latest gen_register/ip_check info Change-Id: Iae892ab7138e7bba4abc821b9d7893e768647daa Signed-off-by: Ken Adams <kadams@nvidia.com> Reviewed-on: http://git-master/r/399382
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r--drivers/gpu/nvgpu/gm20b/hw_pbdma_gm20b.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_pbdma_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_pbdma_gm20b.h
index e403abdb..c64184cb 100644
--- a/drivers/gpu/nvgpu/gm20b/hw_pbdma_gm20b.h
+++ b/drivers/gpu/nvgpu/gm20b/hw_pbdma_gm20b.h
@@ -434,4 +434,36 @@ static inline u32 pbdma_udma_nop_r(void)
434{ 434{
435 return 0x00000008; 435 return 0x00000008;
436} 436}
437static inline u32 pbdma_syncpointa_r(u32 i)
438{
439 return 0x000400a4 + i*8192;
440}
441static inline u32 pbdma_syncpointa_payload_v(u32 r)
442{
443 return (r >> 0) & 0xffffffff;
444}
445static inline u32 pbdma_syncpointb_r(u32 i)
446{
447 return 0x000400a8 + i*8192;
448}
449static inline u32 pbdma_syncpointb_op_v(u32 r)
450{
451 return (r >> 0) & 0x3;
452}
453static inline u32 pbdma_syncpointb_op_wait_v(void)
454{
455 return 0x00000000;
456}
457static inline u32 pbdma_syncpointb_wait_switch_v(u32 r)
458{
459 return (r >> 4) & 0x1;
460}
461static inline u32 pbdma_syncpointb_wait_switch_en_v(void)
462{
463 return 0x00000001;
464}
465static inline u32 pbdma_syncpointb_syncpt_index_v(u32 r)
466{
467 return (r >> 8) & 0xff;
468}
437#endif 469#endif