summaryrefslogtreecommitdiffstats
path: root/include/linux/tegra_vgpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/tegra_vgpu.h')
-rw-r--r--include/linux/tegra_vgpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index 6e8f5d53..c821f31a 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -97,6 +97,7 @@ enum {
97 TEGRA_VGPU_CMD_CHANNEL_ENABLE = 58, 97 TEGRA_VGPU_CMD_CHANNEL_ENABLE = 58,
98 TEGRA_VGPU_CMD_READ_PTIMER = 59, 98 TEGRA_VGPU_CMD_READ_PTIMER = 59,
99 TEGRA_VGPU_CMD_SET_POWERGATE = 60, 99 TEGRA_VGPU_CMD_SET_POWERGATE = 60,
100 TEGRA_VGPU_CMD_SET_GPU_CLK_RATE = 61,
100}; 101};
101 102
102struct tegra_vgpu_connect_params { 103struct tegra_vgpu_connect_params {
@@ -399,6 +400,10 @@ struct tegra_vgpu_set_powergate_params {
399 u32 mode; 400 u32 mode;
400}; 401};
401 402
403struct tegra_vgpu_gpu_clk_rate_params {
404 u32 rate; /* in kHz */
405};
406
402struct tegra_vgpu_cmd_msg { 407struct tegra_vgpu_cmd_msg {
403 u32 cmd; 408 u32 cmd;
404 int ret; 409 int ret;
@@ -441,6 +446,7 @@ struct tegra_vgpu_cmd_msg {
441 struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave; 446 struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave;
442 struct tegra_vgpu_read_ptimer_params read_ptimer; 447 struct tegra_vgpu_read_ptimer_params read_ptimer;
443 struct tegra_vgpu_set_powergate_params set_powergate; 448 struct tegra_vgpu_set_powergate_params set_powergate;
449 struct tegra_vgpu_gpu_clk_rate_params gpu_clk_rate;
444 char padding[192]; 450 char padding[192];
445 } params; 451 } params;
446}; 452};