summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gm206/bios_gm206.h
diff options
context:
space:
mode:
authorVijayakumar Subbu <vsubbu@nvidia.com>2016-07-28 01:29:15 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-09-29 16:17:46 -0400
commitb17d9708c9e9930778de43de1edf1385acb13ebd (patch)
treefc485e96cc19575d463c61c8b80a09dd89745f3f /drivers/gpu/nvgpu/gm206/bios_gm206.h
parent27b47b1969d7d9cdd3de9fd6f0131ad357f4b0fa (diff)
gpu: nvgpu: Add dGPU clocks support
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>
Diffstat (limited to 'drivers/gpu/nvgpu/gm206/bios_gm206.h')
-rw-r--r--drivers/gpu/nvgpu/gm206/bios_gm206.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gm206/bios_gm206.h b/drivers/gpu/nvgpu/gm206/bios_gm206.h
index f93e5f58..5aa20364 100644
--- a/drivers/gpu/nvgpu/gm206/bios_gm206.h
+++ b/drivers/gpu/nvgpu/gm206/bios_gm206.h
@@ -15,18 +15,34 @@
15#define NVGPU_BIOS_GM206_H 15#define NVGPU_BIOS_GM206_H
16 16
17#define PERF_PTRS_WIDTH 0x4 17#define PERF_PTRS_WIDTH 0x4
18#define PERF_PTRS_WIDTH_16 0x2
18 19
19enum { 20enum {
20 CLOCKS_TABLE = 2, 21 CLOCKS_TABLE = 2,
21 CLOCK_PROGRAMMING_TABLE, 22 CLOCK_PROGRAMMING_TABLE,
22 NAFLL_TABLE, 23 FLL_TABLE,
23 ADC_TABLE, 24 VIN_TABLE,
25 FREQUENCY_CONTROLLER_TABLE
24}; 26};
25 27
26enum { 28enum {
29 PERFORMANCE_TABLE = 0,
30 MEMORY_CLOCK_TABLE,
31 MEMORY_TWEAK_TABLE,
32 POWER_CONTROL_TABLE,
33 THERMAL_CONTROL_TABLE,
34 THERMAL_DEVICE_TABLE,
35 THERMAL_COOLERS_TABLE,
36 PERFORMANCE_SETTINGS_SCRIPT,
27 CONTINUOUS_VIRTUAL_BINNING_TABLE, 37 CONTINUOUS_VIRTUAL_BINNING_TABLE,
28}; 38};
29 39
40enum {
41 VP_FIELD_TABLE = 0,
42 VP_FIELD_REGISTER,
43 VP_TRANSLATION_TABLE,
44};
45
30struct bit_token { 46struct bit_token {
31 u8 token_id; 47 u8 token_id;
32 u8 data_version; 48 u8 data_version;