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.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/tegra_vgpu.h b/include/linux/tegra_vgpu.h
index 1d195efd..bdaabf29 100644
--- a/include/linux/tegra_vgpu.h
+++ b/include/linux/tegra_vgpu.h
@@ -88,6 +88,9 @@ enum {
88 TEGRA_VGPU_CMD_GR_CTX_FREE, 88 TEGRA_VGPU_CMD_GR_CTX_FREE,
89 TEGRA_VGPU_CMD_CHANNEL_BIND_GR_CTX, 89 TEGRA_VGPU_CMD_CHANNEL_BIND_GR_CTX,
90 TEGRA_VGPU_CMD_TSG_BIND_GR_CTX, 90 TEGRA_VGPU_CMD_TSG_BIND_GR_CTX,
91 TEGRA_VGPU_CMD_TSG_BIND_CHANNEL,
92 TEGRA_VGPU_CMD_TSG_UNBIND_CHANNEL,
93 TEGRA_VGPU_CMD_TSG_PREEMPT,
91}; 94};
92 95
93struct tegra_vgpu_connect_params { 96struct tegra_vgpu_connect_params {
@@ -361,6 +364,15 @@ struct tegra_vgpu_tsg_bind_gr_ctx_params {
361 u64 gr_ctx_handle; 364 u64 gr_ctx_handle;
362}; 365};
363 366
367struct tegra_vgpu_tsg_bind_unbind_channel_params {
368 u32 tsg_id;
369 u64 ch_handle;
370};
371
372struct tegra_vgpu_tsg_preempt_params {
373 u32 tsg_id;
374};
375
364struct tegra_vgpu_cmd_msg { 376struct tegra_vgpu_cmd_msg {
365 u32 cmd; 377 u32 cmd;
366 int ret; 378 int ret;
@@ -397,6 +409,8 @@ struct tegra_vgpu_cmd_msg {
397 struct tegra_vgpu_gr_ctx_params gr_ctx; 409 struct tegra_vgpu_gr_ctx_params gr_ctx;
398 struct tegra_vgpu_channel_bind_gr_ctx_params ch_bind_gr_ctx; 410 struct tegra_vgpu_channel_bind_gr_ctx_params ch_bind_gr_ctx;
399 struct tegra_vgpu_tsg_bind_gr_ctx_params tsg_bind_gr_ctx; 411 struct tegra_vgpu_tsg_bind_gr_ctx_params tsg_bind_gr_ctx;
412 struct tegra_vgpu_tsg_bind_unbind_channel_params tsg_bind_unbind_channel;
413 struct tegra_vgpu_tsg_preempt_params tsg_preempt;
400 char padding[192]; 414 char padding[192];
401 } params; 415 } params;
402}; 416};