]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: dc: Enable DSI_USE_SYNC_POINTS for T124 only
authorBharat Nihalani <bnihalani@nvidia.com>
Thu, 24 Oct 2013 16:01:47 +0000 (21:31 +0530)
committerMitch Luban <mluban@nvidia.com>
Fri, 25 Oct 2013 02:06:15 +0000 (19:06 -0700)
Enabling DSI_USE_SYNC_POINTS causes issues for T114 platforms. So
enabling this only for T124 until we can enable this for T114 too.

Bug 1393553

Change-Id: I227d279eaa55e1575470ac3cf52ae21e620c3c80
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/303380
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
drivers/video/tegra/dc/dsi.c

index f015fb8d3727bf75cc87e608b1d81143ad723449..fa297b7a860b33acd2d7073bc23c4741c01869e1 100644 (file)
 #define APB_MISC_GP_MIPI_PAD_CTRL_0    (TEGRA_APB_MISC_BASE + 0x820)
 #define DSIB_MODE_ENABLE               0x2
 
+/* Only enabling for T124 for now; causes issues for other chips */
+#ifdef CONFIG_ARCH_TEGRA_12x_SOC
 #define DSI_USE_SYNC_POINTS 1
+#else
+#define DSI_USE_SYNC_POINTS 0
+#endif
 
 #define S_TO_MS(x)                     (1000 * (x))
 #define MS_TO_US(x)                    (1000 * (x))