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 14449242..b83b9669 100644 --- a/include/linux/tegra_vgpu.h +++ b/include/linux/tegra_vgpu.h | |||
@@ -99,6 +99,7 @@ enum { | |||
99 | TEGRA_VGPU_CMD_GET_CONSTANTS = 62, | 99 | TEGRA_VGPU_CMD_GET_CONSTANTS = 62, |
100 | TEGRA_VGPU_CMD_CHANNEL_CYCLESTATS_SNAPSHOT = 63, | 100 | TEGRA_VGPU_CMD_CHANNEL_CYCLESTATS_SNAPSHOT = 63, |
101 | TEGRA_VGPU_CMD_TSG_OPEN = 64, | 101 | TEGRA_VGPU_CMD_TSG_OPEN = 64, |
102 | TEGRA_VGPU_CMD_GET_GPU_LOAD = 65, | ||
102 | }; | 103 | }; |
103 | 104 | ||
104 | struct tegra_vgpu_connect_params { | 105 | struct tegra_vgpu_connect_params { |
@@ -454,6 +455,10 @@ struct tegra_vgpu_channel_cyclestats_snapshot_params { | |||
454 | u8 hw_overflow; | 455 | u8 hw_overflow; |
455 | }; | 456 | }; |
456 | 457 | ||
458 | struct tegra_vgpu_gpu_load_params { | ||
459 | u32 load; | ||
460 | }; | ||
461 | |||
457 | struct tegra_vgpu_cmd_msg { | 462 | struct tegra_vgpu_cmd_msg { |
458 | u32 cmd; | 463 | u32 cmd; |
459 | int ret; | 464 | int ret; |
@@ -500,6 +505,7 @@ struct tegra_vgpu_cmd_msg { | |||
500 | struct tegra_vgpu_gpu_clk_rate_params gpu_clk_rate; | 505 | struct tegra_vgpu_gpu_clk_rate_params gpu_clk_rate; |
501 | struct tegra_vgpu_constants_params constants; | 506 | struct tegra_vgpu_constants_params constants; |
502 | struct tegra_vgpu_channel_cyclestats_snapshot_params cyclestats_snapshot; | 507 | struct tegra_vgpu_channel_cyclestats_snapshot_params cyclestats_snapshot; |
508 | struct tegra_vgpu_gpu_load_params gpu_load; | ||
503 | char padding[192]; | 509 | char padding[192]; |
504 | } params; | 510 | } params; |
505 | }; | 511 | }; |