diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2012-05-14 14:59:43 +0300 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2012-05-21 15:10:43 +0530 |
commit | 6d5b2cb950bb883247c510ee4a6cfb8fa4b0e870 (patch) | |
tree | 528972758920291a14720550f6cbc1a05baf5d78 /drivers/video/tegra/host/chip_support.h | |
parent | 230977c575ae29766c449b4382a02be850422463 (diff) |
video: tegra: host: Simplify robustness
nvhost attempts to purge all buffers from timed out contexts. This is
very error prone, and not necessary. Change behavior so that only the
hung job, and the immediately following jobs from same context are
purged. This simplifies code, and corrects bug where the push buffer
modifications caused panics.
Bug 982946
Change-Id: Ifb26484cf02ef40f8d5b20338eebc0a731f453cf
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/102234
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/host/chip_support.h')
-rw-r--r-- | drivers/video/tegra/host/chip_support.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/tegra/host/chip_support.h b/drivers/video/tegra/host/chip_support.h index c0d567df425a..edc5f6a51574 100644 --- a/drivers/video/tegra/host/chip_support.h +++ b/drivers/video/tegra/host/chip_support.h @@ -69,11 +69,6 @@ struct nvhost_chip_support { u32 syncpt_incrs, u32 syncval, u32 nr_slots); - void (*timeout_pb_incr)(struct nvhost_cdma *, - u32 getptr, - u32 syncpt_incrs, - u32 nr_slots, - bool exec_ctxsave); } cdma; struct { |