]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
video: tegra: dsi: update ganged overlap mode
authorDaniel Solomon <daniels@nvidia.com>
Mon, 16 Mar 2015 21:18:45 +0000 (14:18 -0700)
committerMitch Luban <mluban@nvidia.com>
Tue, 17 Mar 2015 18:56:57 +0000 (11:56 -0700)
Update gagned mode
TEGRA_DSI_GANGED_SYMMETRIC_LEFT_RIGHT_OVERLAP to not
skip pixel correction - skipping this step is not
necessary/recommended.

Bug 1614907

Change-Id: Ie74f2197224c245ff7d93f8fe6bfde46d59b465a
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/717954
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
drivers/video/tegra/dc/dsi.c

index c50a40fd7ac31741ac76bca79a3931527d7f5e8a..48002a15384854a9605eb47465eb608b1f474e9b 100644 (file)
@@ -710,9 +710,7 @@ void tegra_dsi_init_clock_param(struct tegra_dc *dc)
                        DSI_CONTROL_VID_SOURCE(dc->ctrl_num) |
                        DSI_CONTROL_DATA_FORMAT(dsi->info.pixel_format);
 
-       if (dsi->info.ganged_type &&
-               dsi->info.ganged_type !=
-                       TEGRA_DSI_GANGED_SYMMETRIC_LEFT_RIGHT_OVERLAP)
+       if (dsi->info.ganged_type)
                tegra_dsi_pix_correction(dc, dsi);
 
        /* Below we are going to calculate dsi and dc clock rate.
@@ -5354,9 +5352,7 @@ static void tegra_dc_dsi_modeset_notifier(struct tegra_dc *dc)
 {
        struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc);
 
-       if (dsi->info.ganged_type &&
-               dsi->info.ganged_type !=
-                       TEGRA_DSI_GANGED_SYMMETRIC_LEFT_RIGHT_OVERLAP)
+       if (dsi->info.ganged_type)
                tegra_dsi_pix_correction(dc, dsi);
 }