diff options
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h | 26 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h | 4 |
2 files changed, 1 insertions, 29 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h index c4d3a631..7aea3870 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_pbdma_gv11b.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -518,30 +518,6 @@ static inline u32 pbdma_udma_nop_r(void) | |||
518 | { | 518 | { |
519 | return 0x00000008; | 519 | return 0x00000008; |
520 | } | 520 | } |
521 | static inline u32 pbdma_allowed_syncpoints_r(u32 i) | ||
522 | { | ||
523 | return 0x000400e8 + i*8192; | ||
524 | } | ||
525 | static inline u32 pbdma_allowed_syncpoints_0_valid_f(u32 v) | ||
526 | { | ||
527 | return (v & 0x1) << 31; | ||
528 | } | ||
529 | static inline u32 pbdma_allowed_syncpoints_0_index_f(u32 v) | ||
530 | { | ||
531 | return (v & 0x7fff) << 16; | ||
532 | } | ||
533 | static inline u32 pbdma_allowed_syncpoints_0_index_v(u32 r) | ||
534 | { | ||
535 | return (r >> 16) & 0x7fff; | ||
536 | } | ||
537 | static inline u32 pbdma_allowed_syncpoints_1_valid_f(u32 v) | ||
538 | { | ||
539 | return (v & 0x1) << 15; | ||
540 | } | ||
541 | static inline u32 pbdma_allowed_syncpoints_1_index_f(u32 v) | ||
542 | { | ||
543 | return (v & 0x7fff) << 0; | ||
544 | } | ||
545 | static inline u32 pbdma_runlist_timeslice_r(u32 i) | 521 | static inline u32 pbdma_runlist_timeslice_r(u32 i) |
546 | { | 522 | { |
547 | return 0x000400f8 + i*8192; | 523 | return 0x000400f8 + i*8192; |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h index bcbb7b81..69de33c6 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h +++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv11b/hw_ram_gv11b.h | |||
@@ -546,10 +546,6 @@ static inline u32 ram_fc_subdevice_w(void) | |||
546 | { | 546 | { |
547 | return 37; | 547 | return 37; |
548 | } | 548 | } |
549 | static inline u32 ram_fc_allowed_syncpoints_w(void) | ||
550 | { | ||
551 | return 58; | ||
552 | } | ||
553 | static inline u32 ram_fc_target_w(void) | 549 | static inline u32 ram_fc_target_w(void) |
554 | { | 550 | { |
555 | return 43; | 551 | return 43; |