From 4b1a080cbf81a93db4612d5450c8a4ed528bff70 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Wed, 21 Jul 2021 11:28:11 -0700 Subject: [PATCH] gpu: nvgpu: ga10b: make sysclk rate same as gpc clocks As per HW guidance, keep gpc0, gpc1 and sysclk at same clock rate. Bug 3315239 Change-Id: I038d27c53e8c59a19f8150163ce1e1f216564e9a Signed-off-by: Seshendra Gadagottu Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2562611 Reviewed-by: Alex Waterman Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c index ecf6fc26c..cc51ae4a6 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_ga10b_tegra.c @@ -45,10 +45,10 @@ #define EMC3D_GA10B_RATIO 500 #define GPCCLK_INIT_RATE 1000000000UL -#define SYSCLK_INIT_RATE 204000000UL +/* Run gpc0, gpc1 and sysclk at same rate */ struct gk20a_platform_clk tegra_ga10b_clocks[] = { - {"sysclk", SYSCLK_INIT_RATE}, + {"sysclk", GPCCLK_INIT_RATE}, {"gpc0clk", GPCCLK_INIT_RATE}, {"gpc1clk", GPCCLK_INIT_RATE}, {"fuse", UINT_MAX}