msm_fb: display: check active queue before signal timeline

This patch make sure active queue is not empty before signal
timeline.

Crs-fixed: 453745
Change-Id: I450c0923a67bdc90d06249e3ba83edb0b3b4b319
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
msm: kgsl: Replace 10secs timeout with Z180_IDLE_TIMEOUT for 2D.

Use Z180_IDLE_TIMEOUT macro for 2D hang detection instead
of hardcoded value of 10 secs.

Change-Id: I39f9d3ff9ef00df2f3d399454279045fe68e471a
CRs-Fixed: 454439
Signed-off-by: Vikram Orre <vorre@codeaurora.org>
Merge "msm: kgsl: Replace 10secs timeout with Z180_IDLE_TIMEOUT for 2D."
msm: kgsl: Submit NOP packet to overcome pending interrupt.

Sometimes the core will go idle before serving interrupt and
pending interrupts will be served only after next packet
submission. NOP packet is inserted before going the core goes
to idle which overcomes the issue of pending interrupts.

Change-Id: I005460fb481a07e486c321ccae1fd240c38a94b0
CRs-fixed: 450115
Signed-off-by: Vikram Orre <vorre@codeaurora.org>
msm: rpc: hold spinlock while doing wait_event

To prevent a race condition between wake_up called by
msm_rpcrouter_xprt_notify and wait_event in rr_read
hold a spinlock irqsave to prevent the system from going into
sleep when there is pending SMD data to process.

CRs-Fixed: 393416
Change-Id: Ic329c785fa8272857b7f067819d51a516a9cdc0d
Signed-off-by: Angshuman Sarkar <angshuman@codeaurora.org>
Merge "msm: kgsl: Submit NOP packet to overcome pending interrupt."
Merge "msm: rpc: hold spinlock while doing wait_event"
msm_fb: display: proper mdp core clock selection for 7x30

    Add proper calculation for MDP core clocks for MDDI panel.
    Also, add 10 % blanking in the case where the panel where
    horizontal and vertical porch values are not available.

Change-Id: I3fd38efb38d36470baeb980d973135587c4431de
Signed-off-by: Baji Patthan <bpatth@codeaurora.org>
msm: board-msm7x30: Enabling RTB for 7x30.

Enabling RTB(Register Trace Buffer) will help in taking RTB logs. RTB
implements uncached logging of particular events (like readl/writel,
printk, hotplug etc). RTB is useful because it provides a
rough indication of the last events that occured on each core prior to
a crash/reset.

Change-Id: I938178c8bd21ee888c03013d72bc0e6b96d12098
Signed-off-by: Ramesh Gupta Guntha <rggupt@codeaurora.org>
Signed-off-by: Utsab Bose <ubose@codeaurora.org>
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: RTB changes required for 7x30

For it to work on 8x55
In addition,default filter is changed to capture readl/writel
Added two more RTB entries for READLDONE/WRITELDONE
smd/cachel2-x0 changes for RTB to work on 7x30.

Change-Id: Iae7db79decfbce034cde3694448a29439910f55a
Signed-off-by: Ramesh Gupta Guntha <rggupt@codeaurora.org>
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: pm2: Add memory markers across PM driver

Add memory markers in PM driver to know the SPC & PC code flow.
This patch is useful to debug the stability/field issues.

Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/devices-msm7x27a.c
	arch/arm/mach-msm/msm_cpr.c
	arch/arm/mach-msm/pm2.c

Change-Id: I008f2950c687763d5f7fa2b6c0a3cd18d9f09b2e
Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: Uncached kLog, Irq and Scheduler logging

Creates uncached physically continuous memory
and save klog, irq and scheduler event.

Change-Id: I562ef37cd844b8fff0c4b1b842cf270ab4e9d67f
Signed-off-by: Ramesh Gupta G <rggupt@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
msm: Change the MEMTYPE for 8x55

Only EBI0 is available for 8x55 target. Modified the MEMTYPE
to EBI0 for fixing the issues with RTB and IRQ logging.

Change-Id: I0e87bb22e5ba94c24582fa1ac23553ec3633a78f
Signed-off-by: Ramesh Gupta G<rggupt@codeaurora.org>
Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
defconfig: msm7630: Disable Shadow Writes

Disable Shadow Writes for 7630

Change-Id: Id7ed3270ac0ea8b67887d8dea2a81911783a9875
CRs-fixed: 451292
Signed-off-by: Anshuman Dani <adani@codeaurora.org>
Revert "MSM:8x55:MDP:Add checks for divide by zero"

This reverts commit b5bbc8a04bf7197f1ea666676bbed4d9169acc5b.

Change-Id: I32b72b2fca8cd7a7cc901dbc7db03d880cb91939
Signed-off-by: Satish Kamuju <skamuj@codeaurora.org>
Merge "defconfig: msm7630: Disable Shadow Writes"
Merge "msm_fb: display: proper mdp core clock selection for 7x30"
Merge "msm: board-msm7x30: Enabling RTB for 7x30."
Merge "msm: RTB changes required for 7x30"
Merge "msm: pm2: Add memory markers across PM driver"