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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index 4f1c7926..9ecc44a7 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -99,6 +99,8 @@ enum {
99 TEGRA_VGPU_CMD_CHANNEL_CYCLESTATS_SNAPSHOT = 63, 99 TEGRA_VGPU_CMD_CHANNEL_CYCLESTATS_SNAPSHOT = 63,
100 TEGRA_VGPU_CMD_TSG_OPEN = 64, 100 TEGRA_VGPU_CMD_TSG_OPEN = 64,
101 TEGRA_VGPU_CMD_GET_GPU_LOAD = 65, 101 TEGRA_VGPU_CMD_GET_GPU_LOAD = 65,
102 TEGRA_VGPU_CMD_SUSPEND_CONTEXTS = 66,
103 TEGRA_VGPU_CMD_RESUME_CONTEXTS = 67,
102}; 104};
103 105
104struct tegra_vgpu_connect_params { 106struct tegra_vgpu_connect_params {
@@ -454,6 +456,12 @@ struct tegra_vgpu_gpu_load_params {
454 u32 load; 456 u32 load;
455}; 457};
456 458
459struct tegra_vgpu_suspend_resume_contexts {
460 u32 num_channels;
461 u16 resident_chid;
462 u16 chids[];
463};
464
457struct tegra_vgpu_cmd_msg { 465struct tegra_vgpu_cmd_msg {
458 u32 cmd; 466 u32 cmd;
459 int ret; 467 int ret;
@@ -500,6 +508,8 @@ struct tegra_vgpu_cmd_msg {
500 struct tegra_vgpu_constants_params constants; 508 struct tegra_vgpu_constants_params constants;
501 struct tegra_vgpu_channel_cyclestats_snapshot_params cyclestats_snapshot; 509 struct tegra_vgpu_channel_cyclestats_snapshot_params cyclestats_snapshot;
502 struct tegra_vgpu_gpu_load_params gpu_load; 510 struct tegra_vgpu_gpu_load_params gpu_load;
511 struct tegra_vgpu_suspend_resume_contexts suspend_contexts;
512 struct tegra_vgpu_suspend_resume_contexts resume_contexts;
503 char padding[192]; 513 char padding[192];
504 } params; 514 } params;
505}; 515};