diff options
author | Ken Adams <kadams@nvidia.com> | 2014-04-21 21:21:09 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:42 -0400 |
commit | 0f2498ca09ed5642207e42560c9e89faebf2f455 (patch) | |
tree | 395f5bb182b30123cd41911488f93bf611d69543 /drivers/gpu/nvgpu/gm20b | |
parent | a9f75f87937a2d9ad88bbd992ee3d5c91c18c260 (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.h | 32 |
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 | } |
437 | static inline u32 pbdma_syncpointa_r(u32 i) | ||
438 | { | ||
439 | return 0x000400a4 + i*8192; | ||
440 | } | ||
441 | static inline u32 pbdma_syncpointa_payload_v(u32 r) | ||
442 | { | ||
443 | return (r >> 0) & 0xffffffff; | ||
444 | } | ||
445 | static inline u32 pbdma_syncpointb_r(u32 i) | ||
446 | { | ||
447 | return 0x000400a8 + i*8192; | ||
448 | } | ||
449 | static inline u32 pbdma_syncpointb_op_v(u32 r) | ||
450 | { | ||
451 | return (r >> 0) & 0x3; | ||
452 | } | ||
453 | static inline u32 pbdma_syncpointb_op_wait_v(void) | ||
454 | { | ||
455 | return 0x00000000; | ||
456 | } | ||
457 | static inline u32 pbdma_syncpointb_wait_switch_v(u32 r) | ||
458 | { | ||
459 | return (r >> 4) & 0x1; | ||
460 | } | ||
461 | static inline u32 pbdma_syncpointb_wait_switch_en_v(void) | ||
462 | { | ||
463 | return 0x00000001; | ||
464 | } | ||
465 | static inline u32 pbdma_syncpointb_syncpt_index_v(u32 r) | ||
466 | { | ||
467 | return (r >> 8) & 0xff; | ||
468 | } | ||
437 | #endif | 469 | #endif |