From 3ffcadc8dd6152d4ce2677b4e5d8e043a3df58ac Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Mon, 26 Jun 2017 10:51:17 -0700 Subject: gpu: nvgpu: rename pmu_mclk_gp106 to mclk_gp106 Rename files, as they are not directly related to PMU. They just send commands to PMU, similar to all other clock change codes. Bug 1921094 Change-Id: I4a67d4c950d995c68cfce464108cd36104f44080 Signed-off-by: Thomas Fleury Reviewed-on: https://git-master/r/1508820 GVS: Gerrit_Virtual_Submit Reviewed-by: Vijayakumar Subbu Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp106/mclk_gp106.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 drivers/gpu/nvgpu/gp106/mclk_gp106.h (limited to 'drivers/gpu/nvgpu/gp106/mclk_gp106.h') diff --git a/drivers/gpu/nvgpu/gp106/mclk_gp106.h b/drivers/gpu/nvgpu/gp106/mclk_gp106.h new file mode 100644 index 00000000..dad926ff --- /dev/null +++ b/drivers/gpu/nvgpu/gp106/mclk_gp106.h @@ -0,0 +1,21 @@ +/* +* Copyright (c) 2017, 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. +*/ + +#ifndef _MCLK_GP106_H_ +#define _MCLK_GP106_H_ + +extern int gp106_mclk_init(struct gk20a *g); +extern void gp106_mclk_deinit(struct gk20a *g); +extern int gp106_mclk_change(struct gk20a *g, u16 val); + +#endif -- cgit v1.2.2