Files
linux-nvgpu/drivers/gpu/nvgpu/ctrl/ctrlperf.h
Terje Bergstrom 7fd02cf343 gpu: nvgpu: Don't recursively #include ctrlvolt.h
ctrlvolt.h #includes ctrlperf.h, which recursively #includes
ctrlvolt.h without needing anything from it. Remove the #include
to improve built time.

Bug 200192125

Change-Id: I8c917533127e6d42aae6ad1401860c1f5d110d81
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1280345
GVS: Gerrit_Virtual_Submit
2017-01-06 09:13:59 -08:00

31 lines
861 B
C

/*
* general p state infrastructure
*
* Copyright (c) 2016-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 _ctrlperf_h_
#define _ctrlperf_h_
struct ctrl_perf_volt_rail_list_item {
u8 volt_domain;
u32 voltage_uv;
u32 voltage_min_noise_unaware_uv;
};
struct ctrl_perf_volt_rail_list {
u8 num_rails;
struct ctrl_perf_volt_rail_list_item
rails[CTRL_VOLT_VOLT_RAIL_MAX_RAILS];
};
#endif