diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2011-06-09 12:39:33 +0300 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:47:46 -0800 |
commit | 5dac3e2f80188bdd46b1af38d4875219823a5ecb (patch) | |
tree | b004e96767b3eb3af5ed4ad0e987015cef2c6c3e /drivers/video/tegra/dc/dc_sysfs.c | |
parent | 0c93d7228659bb507dd5334a959b909fc2e0612e (diff) |
nvhost: Do not crash if wait syncpt > max
If user space is waiting for a syncpt value higher than max,
nvhost_wait_timeout() panics the kernel. This panic is based on the
assumption that nobody should wait for sync points higher than indicated
by a submit from user space.
As the API has nothing to disallow waiting for future sync points not
indicated by any submit, this patch removes the panic and treats this as
a normal case.
Bug 843238
Original-Change-Id: I367c46e42bd683f1023e7fe04e523a99ab3d666b
Reviewed-on: http://git-master/r/36470
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Rebase-Id: R18a509f85dfd657c3dcbbd7db1fa95d71113cea0
Diffstat (limited to 'drivers/video/tegra/dc/dc_sysfs.c')
0 files changed, 0 insertions, 0 deletions