diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/tegra_vgpu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h index 196b08ca..6e8f5d53 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -96,6 +96,7 @@ enum { | |||
96 | TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET = 57, | 96 | TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET = 57, |
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 | }; | 100 | }; |
100 | 101 | ||
101 | struct tegra_vgpu_connect_params { | 102 | struct tegra_vgpu_connect_params { |
@@ -394,6 +395,10 @@ struct tegra_vgpu_read_ptimer_params { | |||
394 | u64 time; | 395 | u64 time; |
395 | }; | 396 | }; |
396 | 397 | ||
398 | struct tegra_vgpu_set_powergate_params { | ||
399 | u32 mode; | ||
400 | }; | ||
401 | |||
397 | struct tegra_vgpu_cmd_msg { | 402 | struct tegra_vgpu_cmd_msg { |
398 | u32 cmd; | 403 | u32 cmd; |
399 | int ret; | 404 | int ret; |
@@ -435,6 +440,7 @@ struct tegra_vgpu_cmd_msg { | |||
435 | struct tegra_vgpu_tsg_timeslice_params tsg_timeslice; | 440 | struct tegra_vgpu_tsg_timeslice_params tsg_timeslice; |
436 | struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave; | 441 | struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave; |
437 | struct tegra_vgpu_read_ptimer_params read_ptimer; | 442 | struct tegra_vgpu_read_ptimer_params read_ptimer; |
443 | struct tegra_vgpu_set_powergate_params set_powergate; | ||
438 | char padding[192]; | 444 | char padding[192]; |
439 | } params; | 445 | } params; |
440 | }; | 446 | }; |