msm: kgsl: initialize kgsl_sync_timeline_ops properly

CRs-fixed: 471346
Change-Id: Ib8dccb60ead6fcecc0f9beaf271ba28199d404a2
Signed-off-by: Iliyan Malchev <malchev@google.com>
Signed-off-by: Jeff Boody <jboody@quicinc.com>
msm: display: retry sending cec message when timeout

Should retry sending cec message when there is a timeout error,
cec device might be busy at that moment.

CRs-fixed: 496344

Change-Id: I4013a795c3a885eccfc793be64cb3857941e57da
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
msm: vidc: Free meta buffers during address table cleanup

This change frees the allocated meta buffers, if any
present, during video core address table cleanup.

Change-Id: Id8c42491040bc5be09f3bb59780d376e6921c76e
CRs-fixed: 459980
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
msm: display: frc improvement

Update dispplay frame rate after display is turned on.
Calculate video frame rate at the first several frames, do not allow
switching cadence in the middle.
Detect render delay, let it free run if the latency is over limit.
Setting en_kmsg to be 3 will disable frc but keep
pr_mem working as pr_err.

Change-Id: I757c11ead629d83610542ade93ac7f750f49d5a4
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
Merge "msm: display: frc improvement"
Merge "msm: display: retry sending cec message when timeout"
power: pm8921-charger: NULL check in 'external_power_changed' callback

The power-supply framework internally calls power_supply_changed
after registering a power-supply type. This ends up calling
'external_power_changed' callback which unconditionally
accesses 'the_chip' pointer (which gets initialized later).
Fix this by adding a NULL check.

CRs-Fixed: 466083
Change-Id: I75a58ca5ab37e44454f139a2644ab316afe3c4b8
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
Merge "power: pm8921-charger: NULL check in 'external_power_changed' callback"
Merge "msm: kgsl: initialize kgsl_sync_timeline_ops properly"
Merge "msm: vidc: Free meta buffers during address table cleanup"