mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
JIRA DNVGPU-45 Change-Id: I237ce81e31b036c05c82d46eea8694ffe1c2e3df Signed-off-by: Mahantesh Kumbar <mkumbar@nvidia.com> Signed-off-by: Vijayakumar Subbu <vsubbu@nvidia.com> Reviewed-on: http://git-master/r/1205849 (cherry picked from commit 9a4006f76b75a8ad525e7aa5ad1f609aaae49126) Reviewed-on: http://git-master/r/1227256 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
57 lines
1.2 KiB
C
57 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2014-2016, 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 NVGPU_BIOS_GM206_H
|
|
#define NVGPU_BIOS_GM206_H
|
|
|
|
#define PERF_PTRS_WIDTH 0x4
|
|
#define PERF_PTRS_WIDTH_16 0x2
|
|
|
|
enum {
|
|
CLOCKS_TABLE = 2,
|
|
CLOCK_PROGRAMMING_TABLE,
|
|
FLL_TABLE,
|
|
VIN_TABLE,
|
|
FREQUENCY_CONTROLLER_TABLE
|
|
};
|
|
|
|
enum {
|
|
PERFORMANCE_TABLE = 0,
|
|
MEMORY_CLOCK_TABLE,
|
|
MEMORY_TWEAK_TABLE,
|
|
POWER_CONTROL_TABLE,
|
|
THERMAL_CONTROL_TABLE,
|
|
THERMAL_DEVICE_TABLE,
|
|
THERMAL_COOLERS_TABLE,
|
|
PERFORMANCE_SETTINGS_SCRIPT,
|
|
CONTINUOUS_VIRTUAL_BINNING_TABLE,
|
|
};
|
|
|
|
enum {
|
|
VP_FIELD_TABLE = 0,
|
|
VP_FIELD_REGISTER,
|
|
VP_TRANSLATION_TABLE,
|
|
};
|
|
|
|
struct bit_token {
|
|
u8 token_id;
|
|
u8 data_version;
|
|
u16 data_size;
|
|
u16 data_ptr;
|
|
} __packed;
|
|
|
|
struct gpu_ops;
|
|
|
|
void gm206_init_bios(struct gpu_ops *gops);
|
|
#endif
|