diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-10-27 03:16:51 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:52 -0400 |
commit | 4739499f07b29282ee1031d08adaa76c238da2a6 (patch) | |
tree | 10caa152eea6250e46cad6172553069b4bb3dcb9 /drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |
parent | b5bb4f53dbdde8473e1160d4522c5d9da55f115f (diff) |
gpu: nvgpu: Sync gk20a and gm20b headers
Synchronize gk20a and gm20b headers. All registers which were added
to gk20a are now added to gm20b, and some registers that are unused
are removed.
Bug 1567274
Change-Id: Ia3b7958c148e495cbff420ee56bb448db0f58680
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/590313
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h index f18e19be..463443d6 100644 --- a/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/hw_gr_gk20a.h | |||
@@ -2618,30 +2618,6 @@ static inline u32 gr_gpcs_tpcs_pe_pin_cb_global_base_addr_valid_true_f(void) | |||
2618 | { | 2618 | { |
2619 | return 0x10000000; | 2619 | return 0x10000000; |
2620 | } | 2620 | } |
2621 | static inline u32 gr_gpcs_tpcs_l1c_pm_r(void) | ||
2622 | { | ||
2623 | return 0x00419ca8; | ||
2624 | } | ||
2625 | static inline u32 gr_gpcs_tpcs_l1c_pm_enable_m(void) | ||
2626 | { | ||
2627 | return 0x1 << 31; | ||
2628 | } | ||
2629 | static inline u32 gr_gpcs_tpcs_l1c_pm_enable_enable_f(void) | ||
2630 | { | ||
2631 | return 0x80000000; | ||
2632 | } | ||
2633 | static inline u32 gr_gpcs_tpcs_l1c_cfg_r(void) | ||
2634 | { | ||
2635 | return 0x00419cb8; | ||
2636 | } | ||
2637 | static inline u32 gr_gpcs_tpcs_l1c_cfg_blkactivity_enable_m(void) | ||
2638 | { | ||
2639 | return 0x1 << 31; | ||
2640 | } | ||
2641 | static inline u32 gr_gpcs_tpcs_l1c_cfg_blkactivity_enable_enable_f(void) | ||
2642 | { | ||
2643 | return 0x80000000; | ||
2644 | } | ||
2645 | static inline u32 gr_gpcs_tpcs_mpc_vtg_debug_r(void) | 2621 | static inline u32 gr_gpcs_tpcs_mpc_vtg_debug_r(void) |
2646 | { | 2622 | { |
2647 | return 0x00419c00; | 2623 | return 0x00419c00; |
@@ -2654,26 +2630,6 @@ static inline u32 gr_gpcs_tpcs_mpc_vtg_debug_timeslice_mode_enabled_f(void) | |||
2654 | { | 2630 | { |
2655 | return 0x8; | 2631 | return 0x8; |
2656 | } | 2632 | } |
2657 | static inline u32 gr_gpcs_tpcs_sm_pm_ctrl_r(void) | ||
2658 | { | ||
2659 | return 0x00419e00; | ||
2660 | } | ||
2661 | static inline u32 gr_gpcs_tpcs_sm_pm_ctrl_core_enable_m(void) | ||
2662 | { | ||
2663 | return 0x1 << 7; | ||
2664 | } | ||
2665 | static inline u32 gr_gpcs_tpcs_sm_pm_ctrl_core_enable_enable_f(void) | ||
2666 | { | ||
2667 | return 0x80; | ||
2668 | } | ||
2669 | static inline u32 gr_gpcs_tpcs_sm_pm_ctrl_qctl_enable_m(void) | ||
2670 | { | ||
2671 | return 0x1 << 15; | ||
2672 | } | ||
2673 | static inline u32 gr_gpcs_tpcs_sm_pm_ctrl_qctl_enable_enable_f(void) | ||
2674 | { | ||
2675 | return 0x8000; | ||
2676 | } | ||
2677 | static inline u32 gr_gpcs_tpcs_sm_hww_warp_esr_report_mask_r(void) | 2633 | static inline u32 gr_gpcs_tpcs_sm_hww_warp_esr_report_mask_r(void) |
2678 | { | 2634 | { |
2679 | return 0x00419e44; | 2635 | return 0x00419e44; |
@@ -2906,14 +2862,6 @@ static inline u32 gr_gpcs_tpcs_sm_halfctl_ctrl_r(void) | |||
2906 | { | 2862 | { |
2907 | return 0x00419f70; | 2863 | return 0x00419f70; |
2908 | } | 2864 | } |
2909 | static inline u32 gr_gpcs_tpcs_sm_halfctl_ctrl_sctl_blkactivity_enable_m(void) | ||
2910 | { | ||
2911 | return 0x1 << 1; | ||
2912 | } | ||
2913 | static inline u32 gr_gpcs_tpcs_sm_halfctl_ctrl_sctl_blkactivity_enable_enable_f(void) | ||
2914 | { | ||
2915 | return 0x2; | ||
2916 | } | ||
2917 | static inline u32 gr_gpcs_tpcs_sm_halfctl_ctrl_sctl_read_quad_ctl_m(void) | 2865 | static inline u32 gr_gpcs_tpcs_sm_halfctl_ctrl_sctl_read_quad_ctl_m(void) |
2918 | { | 2866 | { |
2919 | return 0x1 << 4; | 2867 | return 0x1 << 4; |
@@ -2938,18 +2886,6 @@ static inline u32 gr_gpcs_tpcs_sm_debug_sfe_control_read_half_ctl_f(u32 v) | |||
2938 | { | 2886 | { |
2939 | return (v & 0x1) << 0; | 2887 | return (v & 0x1) << 0; |
2940 | } | 2888 | } |
2941 | static inline u32 gr_gpcs_tpcs_sm_debug_sfe_control_blkactivity_enable_m(void) | ||
2942 | { | ||
2943 | return 0x1 << 16; | ||
2944 | } | ||
2945 | static inline u32 gr_gpcs_tpcs_sm_debug_sfe_control_blkactivity_enable_enable_f(void) | ||
2946 | { | ||
2947 | return 0x10000; | ||
2948 | } | ||
2949 | static inline u32 gr_gpcs_tpcs_sm_power_throttle_r(void) | ||
2950 | { | ||
2951 | return 0x00419ed0; | ||
2952 | } | ||
2953 | static inline u32 gr_gpcs_tpcs_pes_vsc_vpc_r(void) | 2889 | static inline u32 gr_gpcs_tpcs_pes_vsc_vpc_r(void) |
2954 | { | 2890 | { |
2955 | return 0x0041be08; | 2891 | return 0x0041be08; |