msm_fb: display: Update video format on fps change

Added check for frame rate change. Corner case if there is no
change in xres,yres and pixclock.

Change-Id: I0ff5eb65364d2a370e0973da7e84f738bd042a20
CRs-Fixed: 356328
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>

Conflicts:
	drivers/video/msm/msm_fb_panel.h
msm_fb: display: wake up system around vsync

To avoid frame drops due to power collapse,
wake up cpu right before vsync.

Change-Id: I63385eb329ae5e74cbac5256823fd3a213e0a0e1
Signed-off-by: Ken Zhang <kenz@codeaurora.org>

Conflicts:
	drivers/video/msm/msm_fb.h
	drivers/video/msm/msm_fb_panel.h
msm_fb: display:  add mdp bandwidth runtime calculation

Currently mdp bandwidth request logic is based on source image size
and number of layers. This logic can not support complicated mdp
usecases and it is not power efficient. The logic is improved by
calculating mdp bandwidth request at runtime from all pipes and mixers.

CRs-fixed: 425823
Change-Id: I63206f00f8d3017a2449f8ac617fce3ba2a4d36c
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>

Conflicts:
	drivers/video/msm/lvds.c
	drivers/video/msm/mdp.c
	drivers/video/msm/mdp.h
	drivers/video/msm/mdp4.h
	drivers/video/msm/mdp4_overlay.c
	drivers/video/msm/mdp4_overlay_writeback.c
	drivers/video/msm/mipi_dsi.c
msm: event_timer: Support to add event timers.

Add support to allow drivers to specify future events
that need to be treated as hard deadlines. Upon event timer
expiry the driver will be notified by callback function
that the driver provides.
The pm code can query the earliest event and modify
the event timer accounting for the back off based on the
latency of the low power mode being entered.

(cherry picked from commit 388c308cebef8e9cdbd80608a032abc810d46e62)
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>

Change-Id: I461e2c31c285b93588aa56dd25905efab020e0c8
Signed-off-by: Neha Pandey <nehap@codeaurora.org>
msm_fb: fix mismerge

Change-Id: Ibe7976b0428a1a8c171ffc6b99d8d600ac37a9e0
mdp: fix build

warning: format '%llu' expects argument of type 'long long unsigned
int', but argument 6 has type 'unsigned int'

Change-Id: Idf755d28d31177d80c1a91e94684f184a29666ee
msm: video: fix AUO HD 450 cmd panel

This is needed to power on display.

Change-Id: I4f9dbd9d8ab3a634772f7871758d9d57fefde2eb
msm: video: fix AUO QHD 430 cmd panel

This is needed to power on display.

Change-Id: I200fe33e4e613a4130e36d581873d515e41b2b00
msm: video: fix AUO QHD 429 cmd panel

Change-Id: I9c1afc33a041aecd7aa418e9ffdbacf2b5f7bdfd