video: tegra: host: Allow disabling debug dumps
authorArto Merilainen <amerilainen@nvidia.com>
Thu, 10 Jan 2013 11:51:31 +0000 (13:51 +0200)
committerRiham Haidar <rhaidar@nvidia.com>
Sat, 12 Jan 2013 02:11:54 +0000 (18:11 -0800)
commitd2f6b1563ff3b854a3970d0e9f30721be48317db
tree1ca260e0bdcb964ceaa49a173bb6758d358f5113
parent9a0a1b84b70c03f8c1d88b63cff0f074e899bae4
video: tegra: host: Allow disabling debug dumps

cdma timeout produces a huge amount of debug data to UART. This is
usually useful, but in some cases this affects significantly to
timing.

This patch:
 - adds ioctl for controlling whether the dump is required or not
 - creates a debugfs node for forcing debug dump always
 - moves job information dumping before changing the contents of
   job data

Bug 1207117

Change-Id: I65d4736da154e9af4ae181cefd7d786ec1d16cd9
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/189943
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/bus_client.c
drivers/video/tegra/host/debug.c
drivers/video/tegra/host/debug.h
drivers/video/tegra/host/host1x/host1x_cdma.c
drivers/video/tegra/host/nvhost_cdma.c
drivers/video/tegra/host/nvhost_cdma.h
drivers/video/tegra/host/nvhost_job.h
include/linux/nvhost_ioctl.h