path: root/drivers/video/tegra/dc/dc_priv.h
diff options
authorJon Mayo <>2011-08-26 14:49:03 -0700
committerDan Willemsen <>2011-11-30 21:49:13 -0800
commit8727034d9e64519d36bdf87798ef6fdb62855169 (patch)
treed33147563833d18aa6b0e3121a08cc38b7acc9c7 /drivers/video/tegra/dc/dc_priv.h
parentfd01962227b1427ee0b7328d71588ecdc17f3b8d (diff)
video: tegra: dc: improve underflow statistics
Collect individual underflow counts for underflow statistics to provide a more accurate number of underflows. Changed stats to use 64-bit numbers due to the larger numbers involved, about 100x from previously. Reviewed-on: http://git-master/r/52940 (cherry picked from commit 1d39d430ad90a027be43323f65eef85a3a30faab) Change-Id: I4d253346dfcb01185a93a7602b7a1c971ea1ebb4 Reviewed-on: http://git-master/r/56301 Reviewed-by: Varun Colbert <> Tested-by: Varun Colbert <> Rebase-Id: Rf931d627fedc7ce8d9a37c1c54bb76aa2caf9ff1
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h
index d792f11d07b9..5eaa8be7dafd 100644
--- a/drivers/video/tegra/dc/dc_priv.h
+++ b/drivers/video/tegra/dc/dc_priv.h
@@ -121,10 +121,10 @@ struct tegra_dc {
struct work_struct vblank_work;
struct {
- unsigned underflows;
- unsigned underflows_a;
- unsigned underflows_b;
- unsigned underflows_c;
+ u64 underflows;
+ u64 underflows_a;
+ u64 underflows_b;
+ u64 underflows_c;
} stats;
struct tegra_dc_ext *ext;