diff options
| author | Lloyd Atkinson <latkinso@codeaurora.org> | 2016-11-28 11:28:21 -0500 |
|---|---|---|
| committer | Lloyd Atkinson <latkinso@codeaurora.org> | 2016-12-08 13:50:32 -0500 |
| commit | a3af61badfe8e43cc2929edbc5c0ed94e91b40a7 (patch) | |
| tree | cd368b2f601febffd967f0e6e856abfe50936843 | |
| parent | e2af552e655ec8eb1a0119313c8883ad002c3bde (diff) | |
ARM: dts: msm: enable imgswap on sharp nt35597 dual panel
Fix stride corruption issue due to panel portswap observed when
some video layers cross panel split boundaries. Fix is to
initialize panel with the imgswap feature enabled, and then
modify the DSI CTRL horizontal tiling mapping to undo the swap.
Change-Id: I34ba42a0cb61d560629dc8e4c5a27fa5847f4e20
Signed-off-by: Lloyd Atkinson <latkinso@codeaurora.org>
| -rw-r--r-- | arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi | 3 | ||||
| -rw-r--r-- | arch/arm/boot/dts/qcom/msm8996-sde-display.dtsi | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi b/arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi index b6f19b78ea70..b98049347024 100644 --- a/arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi +++ b/arch/arm/boot/dts/qcom/dsi-panel-nt35597-dualmipi-wqxga-cmd.dtsi @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and @@ -80,6 +80,7 @@ 15 01 00 00 10 00 02 ff 24 15 01 00 00 10 00 02 fb 01 15 01 00 00 10 00 02 c6 06 + 15 01 00 00 10 00 02 9d 30 /* Enable IMGSWAP */ 15 01 00 00 10 00 02 ff 10 05 01 00 00 a0 00 02 11 00 05 01 00 00 a0 00 02 29 00]; diff --git a/arch/arm/boot/dts/qcom/msm8996-sde-display.dtsi b/arch/arm/boot/dts/qcom/msm8996-sde-display.dtsi index 4b2446c3b8f7..3f81da7c3ebc 100644 --- a/arch/arm/boot/dts/qcom/msm8996-sde-display.dtsi +++ b/arch/arm/boot/dts/qcom/msm8996-sde-display.dtsi @@ -222,7 +222,8 @@ label = "dsi_dual_nt35597_cmd"; qcom,display-type = "primary"; - qcom,dsi-ctrl = <&mdss_dsi0 &mdss_dsi1>; + /* dsi1/dsi0 swapped due to IMGSWAP */ + qcom,dsi-ctrl = <&mdss_dsi1 &mdss_dsi0>; qcom,dsi-phy = <&mdss_dsi_phy0 &mdss_dsi_phy1>; clocks = <&clock_mmss clk_ext_byte0_clk_src>, <&clock_mmss clk_ext_pclk0_clk_src>; |
