diff options
author | Seema Khowala <seemaj@nvidia.com> | 2017-06-08 17:36:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-14 18:24:56 -0400 |
commit | 3c3c39dfe0d1122efeead871eec7c37617404850 (patch) | |
tree | 9316965f628eef531d3c1d4816d9c11c68385190 /drivers/gpu/nvgpu/common/linux/ioctl_tsg.c | |
parent | 25ee1d45f9cd1501b5ee2540ca2c20bd72c9ebd9 (diff) |
gpu: nvgpu: add prints for ioctl numbers
ioctl function name and number are printed if
gk20a_dbg_fn is enabled. This is good to have for
debugging.
Change-Id: I4d0f99affaba493a4c586559d699f86174e4c64d
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/1498750
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl_tsg.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_tsg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c index d530fff6..9b722e9e 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg.c | |||
@@ -355,7 +355,7 @@ long nvgpu_ioctl_tsg_dev_ioctl(struct file *filp, unsigned int cmd, | |||
355 | u8 __maybe_unused buf[NVGPU_TSG_IOCTL_MAX_ARG_SIZE]; | 355 | u8 __maybe_unused buf[NVGPU_TSG_IOCTL_MAX_ARG_SIZE]; |
356 | int err = 0; | 356 | int err = 0; |
357 | 357 | ||
358 | gk20a_dbg(gpu_dbg_fn, ""); | 358 | gk20a_dbg_fn("start %d", _IOC_NR(cmd)); |
359 | 359 | ||
360 | if ((_IOC_TYPE(cmd) != NVGPU_TSG_IOCTL_MAGIC) || | 360 | if ((_IOC_TYPE(cmd) != NVGPU_TSG_IOCTL_MAGIC) || |
361 | (_IOC_NR(cmd) == 0) || | 361 | (_IOC_NR(cmd) == 0) || |