]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: dc: Tune timestamp wait slack
authorDavid Lock <dlock@nvidia.com>
Tue, 8 Sep 2015 22:54:25 +0000 (15:54 -0700)
committermobile promotions <svcmobile_promotions@nvidia.com>
Fri, 2 Oct 2015 04:50:32 +0000 (21:50 -0700)
Reduce the DC driver slack for waiting for timestamps.  This allows
us to wake up more consistently on timestamps smoothing the actual
present cadence of frames.

Bug 1684016

Change-Id: I0a4f7ce29880645a12791a38bb407ae5fa26c60a

Change-Id: Ie36b31eaa626661917577d4c77001d6a61b0f5af
Reviewed-on: http://git-master/r/795999
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Reviewed-on: http://git-master/r/806154
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/video/tegra/dc/ext/dev.c

index e7e801ee013020da6c57f9e3eeb42045abc59647..6360baa278edc8ed89bfadf03213e440e9923cb9 100644 (file)
@@ -46,7 +46,7 @@
 #endif
 
 #define TEGRA_DC_TS_MAX_DELAY_US 1000000
-#define TEGRA_DC_TS_SLACK_US 2000
+#define TEGRA_DC_TS_SLACK_US 100
 
 #ifdef CONFIG_COMPAT
 /* compat versions that happen to be the same size as the uapi version. */