diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/hw_trim_gm20b.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/hw_trim_gm20b.h b/drivers/gpu/nvgpu/gm20b/hw_trim_gm20b.h index 6a4c10e5..487cd959 100644 --- a/drivers/gpu/nvgpu/gm20b/hw_trim_gm20b.h +++ b/drivers/gpu/nvgpu/gm20b/hw_trim_gm20b.h | |||
@@ -126,6 +126,10 @@ static inline u32 trim_sys_gpcpll_coeff_mdiv_f(u32 v) | |||
126 | { | 126 | { |
127 | return (v & 0xff) << 0; | 127 | return (v & 0xff) << 0; |
128 | } | 128 | } |
129 | static inline u32 trim_sys_gpcpll_coeff_mdiv_m(void) | ||
130 | { | ||
131 | return 0xff << 0; | ||
132 | } | ||
129 | static inline u32 trim_sys_gpcpll_coeff_mdiv_v(u32 r) | 133 | static inline u32 trim_sys_gpcpll_coeff_mdiv_v(u32 r) |
130 | { | 134 | { |
131 | return (r >> 0) & 0xff; | 135 | return (r >> 0) & 0xff; |
@@ -146,6 +150,10 @@ static inline u32 trim_sys_gpcpll_coeff_pldiv_f(u32 v) | |||
146 | { | 150 | { |
147 | return (v & 0x3f) << 16; | 151 | return (v & 0x3f) << 16; |
148 | } | 152 | } |
153 | static inline u32 trim_sys_gpcpll_coeff_pldiv_m(void) | ||
154 | { | ||
155 | return 0x3f << 16; | ||
156 | } | ||
149 | static inline u32 trim_sys_gpcpll_coeff_pldiv_v(u32 r) | 157 | static inline u32 trim_sys_gpcpll_coeff_pldiv_v(u32 r) |
150 | { | 158 | { |
151 | return (r >> 16) & 0x3f; | 159 | return (r >> 16) & 0x3f; |