]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: host: modify timeout debug prints
authorDeepak Nibade <dnibade@nvidia.com>
Thu, 20 Mar 2014 12:26:54 +0000 (17:56 +0530)
committerTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 26 Mar 2014 10:07:47 +0000 (03:07 -0700)
commit6e04b042055f6ed4272c65b39f818a018dd61661
treee722281e29354d34e11abe326b0c5f2771c7c9e5
parent7bb40d20b02ec1f7d46f9a2c2faf898b4245f8f7
video: tegra: host: modify timeout debug prints

In case of a syncpt timeout modify debug prints as per below cases

1) syncpt is really stuck and not getting incremented at all
In this case print below and then full syncpt status
[   48.657409] host1x host1x: nvrm_channel: syncpoint id 11 (vic03.0_0)
stuck waiting 11597, timeout=2147481647

2) syncpt is progressing but taking too long
In this case print below warning only
[   58.004183] host1x host1x: nvrm_channel: syncpoint id 11 (vic03.0_0)
progressing slowly 11612, timeout=4000

Bug 1479674

Change-Id: Ibba412a8c5de6f233969ef689cb777bb9674e560
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/384383
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
drivers/video/tegra/host/nvhost_syncpt.c