From ba387d3d7e81072641e0134c1c1d4fcf890f1b70 Mon Sep 17 00:00:00 2001 From: Hoang Pham Date: Mon, 14 Jul 2014 10:42:35 -0700 Subject: gpu: Split clk_ops for GK20A and GM20B Split clk_ops for GK20A and GM20B into different files Bug 1450787 Change-Id: I34d16c54ac40c70854e80588475434c9e50b51a5 Signed-off-by: Hoang Pham Reviewed-on: http://git-master/r/437771 Reviewed-by: Yu-Huan Hsu --- drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 drivers/gpu/nvgpu/gm20b/clk_gm20b.c (limited to 'drivers/gpu/nvgpu/gm20b/clk_gm20b.c') diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c new file mode 100644 index 00000000..848e4682 --- /dev/null +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c @@ -0,0 +1,34 @@ +/* + * GM20B Clocks + * + * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#include +#include /* for mdelay */ +#include +#include +#include +#include + +#include "gk20a/gk20a.h" +#include "gk20a/hw_trim_gk20a.h" +#include "gk20a/hw_timer_gk20a.h" + +void gm20b_init_clk_ops(struct gpu_ops *gops) +{ + gops->clk.init_clk_support = gk20a_init_clk_support; +} + -- cgit v1.2.2