From badee8f41a6304817b66287e39d81b382c575163 Mon Sep 17 00:00:00 2001 From: Adeel Raza Date: Thu, 2 Oct 2014 20:39:32 -0700 Subject: gpu: nvgpu: headers for linsim CL 33688874 Bug 1561645 Change-Id: Iccd909d54fc5b1d1c8fbc903b5908bf6f7f22ec8 Signed-off-by: Adeel Raza Reviewed-on: http://git-master/r/553151 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alexander Van Brunt --- drivers/gpu/nvgpu/gp10b/hw_trim_gp10b.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gp10b/hw_trim_gp10b.h') diff --git a/drivers/gpu/nvgpu/gp10b/hw_trim_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_trim_gp10b.h index 76597f69..94da91b0 100644 --- a/drivers/gpu/nvgpu/gp10b/hw_trim_gp10b.h +++ b/drivers/gpu/nvgpu/gp10b/hw_trim_gp10b.h @@ -200,11 +200,11 @@ static inline u32 trim_sys_gpc2clk_out_sdiv14_indiv4_mode_f(void) } static inline u32 trim_gpc_clk_cntr_ncgpcclk_cfg_r(u32 i) { - return 0x00134124 + i*512; + return 0x001e0124 + i*1024; } static inline u32 trim_gpc_clk_cntr_ncgpcclk_cfg_noofipclks_f(u32 v) { - return (v & 0x3fff) << 0; + return (v & 0xffff) << 0; } static inline u32 trim_gpc_clk_cntr_ncgpcclk_cfg_write_en_asserted_f(void) { @@ -220,11 +220,11 @@ static inline u32 trim_gpc_clk_cntr_ncgpcclk_cfg_reset_asserted_f(void) } static inline u32 trim_gpc_clk_cntr_ncgpcclk_cnt_r(u32 i) { - return 0x00134128 + i*512; + return 0x001e0128 + i*1024; } static inline u32 trim_gpc_clk_cntr_ncgpcclk_cnt_value_v(u32 r) { - return (r >> 0) & 0xfffff; + return (r >> 0) & 0xfffffff; } static inline u32 trim_sys_gpcpll_cfg2_r(void) { -- cgit v1.2.2