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 9a31ff40..fc701eb3 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -95,6 +95,7 @@ enum {
95 TEGRA_VGPU_CMD_TSG_SET_RUNLIST_INTERLEAVE, 95 TEGRA_VGPU_CMD_TSG_SET_RUNLIST_INTERLEAVE,
96 TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET, 96 TEGRA_VGPU_CMD_CHANNEL_FORCE_RESET,
97 TEGRA_VGPU_CMD_CHANNEL_ENABLE, 97 TEGRA_VGPU_CMD_CHANNEL_ENABLE,
98 TEGRA_VGPU_CMD_READ_PTIMER,
98}; 99};
99 100
100struct tegra_vgpu_connect_params { 101struct tegra_vgpu_connect_params {
@@ -389,6 +390,10 @@ struct tegra_vgpu_tsg_runlist_interleave_params {
389 u32 level; 390 u32 level;
390}; 391};
391 392
393struct tegra_vgpu_read_ptimer_params {
394 u64 time;
395};
396
392struct tegra_vgpu_cmd_msg { 397struct tegra_vgpu_cmd_msg {
393 u32 cmd; 398 u32 cmd;
394 int ret; 399 int ret;
@@ -429,6 +434,7 @@ struct tegra_vgpu_cmd_msg {
429 struct tegra_vgpu_tsg_preempt_params tsg_preempt; 434 struct tegra_vgpu_tsg_preempt_params tsg_preempt;
430 struct tegra_vgpu_tsg_timeslice_params tsg_timeslice; 435 struct tegra_vgpu_tsg_timeslice_params tsg_timeslice;
431 struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave; 436 struct tegra_vgpu_tsg_runlist_interleave_params tsg_interleave;
437 struct tegra_vgpu_read_ptimer_params read_ptimer;
432 char padding[192]; 438 char padding[192];
433 } params; 439 } params;
434}; 440};