From 4492c62ffe9398bd4457f6f1c2773e40afe909fb Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 17 Mar 2017 11:09:44 -0700 Subject: gpu: nvgpu: Add bus HAL Add bus HAL and move all bus related hardware sequencing to that file: BAR1 binding, timer access, and interrupt handling. Change-Id: Ibc5f5797dc338de10749b446a7bdbcae600fecb4 Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1323353 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/clk/clk_mclk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/gpu/nvgpu/clk/clk_mclk.c') diff --git a/drivers/gpu/nvgpu/clk/clk_mclk.c b/drivers/gpu/nvgpu/clk/clk_mclk.c index c2e9b35c..e5452051 100644 --- a/drivers/gpu/nvgpu/clk/clk_mclk.c +++ b/drivers/gpu/nvgpu/clk/clk_mclk.c @@ -2311,7 +2311,7 @@ int clk_mclkseq_change_mclk_gddr5(struct gk20a *g, u16 val) pseq_cmd->cmd_type = NV_PMU_SEQ_CMD_ID_RUN_SCRIPT; #ifdef CONFIG_DEBUG_FS - g->ops.read_ptimer(g, &t0); + g->ops.bus.read_ptimer(g, &t0); #endif if (speed == gk20a_mclk_high_speed) { @@ -2362,7 +2362,7 @@ int clk_mclkseq_change_mclk_gddr5(struct gk20a *g, u16 val) mclk->speed = speed; #ifdef CONFIG_DEBUG_FS - g->ops.read_ptimer(g, &t1); + g->ops.bus.read_ptimer(g, &t1); nvgpu_mutex_acquire(&mclk->data_lock); mclk->switch_num++; -- cgit v1.2.2