From c6766cc798efe070eac8944d686e27592661e849 Mon Sep 17 00:00:00 2001 From: Vijayakumar Date: Fri, 13 Feb 2015 17:11:37 +0530 Subject: gpu :nvgpu: gp10b: add ptimer scaling factor as 1x bug 1603226 t18x fixes ptimer bug and ticks at 1ns. Change-Id: I590c94957c93adf70263f81a0cdfcb8dc913639e Signed-off-by: Vijayakumar Reviewed-on: http://git-master/r/799989 (cherry picked from commit 44866e195113b0a44ed2513a81dcaaf079c2a5f1) Reviewed-on: http://git-master/r/707810 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/gpu/nvgpu') diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c index a4348f6c..c28c71b5 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c @@ -216,6 +216,9 @@ struct gk20a_platform t18x_gpu_tegra_platform = { .can_railgate = false, .enable_elpg = false, + /* ptimer scaling constant */ + .ptimerscaling10x = 10, + .probe = gp10b_tegra_probe, .late_probe = gp10b_tegra_late_probe, -- cgit v1.2.2