Files
linux-nvgpu/drivers/gpu/nvgpu/gp106/pmu_mclk_gp106.h
Thomas Fleury c32c86342e gpu: nvgpu: g106 hal for mclk switching
move mclk switching to gp106 hal.

Bug 1921082
JIRA EVLR-1269

Change-Id: I97812b871384460bec88fddac0f6a326df12fc45
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1499393
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
2017-06-20 21:43:47 -07:00

25 lines
804 B
C

/*
* 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 _PMU_MCLK_GP106_H_
#define _PMU_MCLK_GP106_H_
#define GP106_MEM_CONFIG_GDDR5_PG418 0
#define GP106_MEM_CONFIG_GDDR5_PG419 1
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