video: tegra: host: Move timeout to hwctx & job structs
authorTerje Bergstrom <tbergstrom@nvidia.com>
Mon, 19 Dec 2011 13:12:06 +0000 (15:12 +0200)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 22 Dec 2011 06:02:23 +0000 (11:02 +0530)
commitd993b01464a87a76d0b859e570cb78caaf1996f9
tree92b3af033ec92c282f196848d745ec34a9e23d4f
parent204b15d959afb9d3d675c949262ce545c17e7c69
video: tegra: host: Move timeout to hwctx & job structs

Timeout struct contains fields which are accessed even after client has
quit. Move the fields to hwctx and nvhost_job so that they can be
accessed when submits complete.

Bug 917340

Change-Id: I322c38d32bc801aa9b061355a17be7f605692e18
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/71004
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
12 files changed:
drivers/video/tegra/host/3dctx_common.c
drivers/video/tegra/host/chip_support.h
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/dev.h
drivers/video/tegra/host/nvhost_cdma.c
drivers/video/tegra/host/nvhost_cdma.h
drivers/video/tegra/host/nvhost_hwctx.h
drivers/video/tegra/host/nvhost_job.c
drivers/video/tegra/host/nvhost_job.h
drivers/video/tegra/host/t20/cdma_t20.c
drivers/video/tegra/host/t20/channel_t20.c
drivers/video/tegra/host/t20/t20.c