msm: mdss: Avoid GPIO warnings during boot up

During continuous splash screen handoff, we see GPIO
warnings since we try to free the GPIOs without
requesting them before. This change takes care of avoiding
these warnings.

Change-Id: I574bcf0bd28e3c33dca618103cf0285675917189
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
msm: mdss: call suspend and resume panel events during runtime triggers

Send a panel suspend/resume event to all the MDSS devices to ensure
proper handling of regulators and clocks during the suspend/resume
sequence.

Change-Id: I820f5e4113f599ba53d4fa4726e406f74872f95f
Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
msm: mdss: Enable dynamic clock gating for MDSS AHB clock

On APQ8084, currently AHB clock is always on from device tree settings.
With this change, it will be enabled if BWC decode is enabled and source
dimensions are changed. Since the source dimensions are double buffered,
the MDP AHB clock will have to be forced on before writing to the source
dimension registers and then the force on turned off after the changes
have been applied (i.e. next vsync).

Change-Id: Ie3e73217bf184a128a4cf677688fdc4019ae44d5
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pipe.c
Revert "mdss: use alternate lcd timings in mdp perf check"

This reverts commit ae3815d1632adc33649a957961f8e5988cba4b50.

Conflicts:
	drivers/video/msm/mdss/mdss_mdp.h
	drivers/video/msm/mdss/mdss_mdp_ctl.c
	drivers/video/msm/mdss/mdss_mdp_overlay.c
Revert "msm: display: only release kickoff when no cleanup pipe"

This reverts commit c42ccafb72fe6acaaf10602ceb327eb20e6c7e09.
Revert "msm: mdss: Handle case when pipe is not idle during cleanup."

This reverts commit 65936dac0ff00c3bdf73f48d1461d0b4e01c3de4.
Revert "msm: display: Add pipe type selection in overlay request"

This reverts commit c21d7d5850697eff4d9ee19f1d93d06ab04d75e5.
msm: mdss: add bus bandwidth request enable/disable during get/free buffer

Enable bus bandwidth request during get/free buffer to ensure
iommu is in proper state while mapping/un-mapping any buffers.

Change-Id: I85cc74a666dbfd29abd26609cbdd3e968d1ecd01
Signed-off-by: Pawan Kumar <pavaku@codeaurora.org>

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_overlay.c
Revert "msm: mdss: Increase commit count for first kickoff"

This reverts commit 219f6698ad766a6a027b72304d7007a2d3d19aff.
Revert "msm: display: reduce display commit prepare waiting time"

This reverts commit e501565b86b381de52530b6a23ee1ddfd527cd7f.
Revert "msm: mdss: Add core clock level selection in MDSS"

This reverts commit 71afb1eb234e72754b1f0a63431954222c7e6ed5.
msm: mdss: Do not override ARGC setting on LM

Layer mixer configuration overrides the ARGC
setting when it updates the blend color settings.
This removes the ARGC setting configured by post
processing module and calibration tool in tuning mode.
This change reads the ARGC setting and applies
it back during blend color setting.

Change-Id: I72612ad428e58a1e343e94ab965137628bcce661
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Revert "msm: mdss: add support for rotator in mdss_mdp_mixer_get"

This reverts commit e3644f89cdac55073fafc49e1bbee8b3ac1392b7.
Revert "msm: mdss: fix asynchronous rotation of layer bigger than line buffer"

This reverts commit 53df8574c4bf2114988e21759d88b58bfb51cc82.
Revert "msm: wb: Ensure iommu reference is available in wb terminate"

This reverts commit 74e1596d13af7a4ec648202ff1415288620387af.
Revert "msm: mdss: Calculate plane size correctly for H2V1/H1V2 rotation"

This reverts commit a2d8d1a0bf6020cf31a334ed84b8a6bc2c2b89ad.

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pipe.c
Revert "msm: mdss: Allow smp change during composition switch"

This reverts commit 470d083e6ecf5bfb4b138554b6db8e60b78b745a.

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pipe.c
Revert "msm: mdss: Add update notify for backlight change in static screen"

This reverts commit 509ed12c9c2dde891a519bd984855a69ce050e93.
Revert "mdss: mdp: use file descriptor node info to track clients"

This reverts commit a8b3c7bc7a5175be3550eb896177d9e0fe2ba836.
Revert "msm: mdss: Notify userspace of idle screen case"

This reverts commit 79b655edbae65a8b3d740c0549ff397e54fa276c.