summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_tsg.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_tsg.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
index 46bc5f59..cb876e23 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c
@@ -30,6 +30,9 @@
30#include "ioctl_tsg.h" 30#include "ioctl_tsg.h"
31#include "ioctl_channel.h" 31#include "ioctl_channel.h"
32#include "os_linux.h" 32#include "os_linux.h"
33#ifdef CONFIG_TEGRA_19x_GPU
34#include "tsg_t19x.h"
35#endif
33 36
34struct tsg_private { 37struct tsg_private {
35 struct gk20a *g; 38 struct gk20a *g;
@@ -469,9 +472,13 @@ long nvgpu_ioctl_tsg_dev_ioctl(struct file *filp, unsigned int cmd,
469 } 472 }
470 473
471 default: 474 default:
475#ifdef CONFIG_TEGRA_19x_GPU
476 err = t19x_tsg_ioctl_handler(g, tsg, cmd, buf);
477#else
472 nvgpu_err(g, "unrecognized tsg gpu ioctl cmd: 0x%x", 478 nvgpu_err(g, "unrecognized tsg gpu ioctl cmd: 0x%x",
473 cmd); 479 cmd);
474 err = -ENOTTY; 480 err = -ENOTTY;
481#endif
475 break; 482 break;
476 } 483 }
477 484