msm: mdss: hdmi: Proper HDMI feature check

Checks for the proper HDMI feature before providing the
corresponding feature data to avoid invalid memory access.

CRs-Fixed: 542785
Change-Id: I943bee9e843e0504effdfddfaf2dea82c22388f6
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
msm: mdss: change SMP allocations for chroma decimation

When decimation is used, the chroma components are not down sampled in
order to prevent quality loss. This means that we need to consider this
extra pixels that are being fetched from memory for buffer latency (SMPs)
and bus bandwidth.

Change-Id: I9f05e4ece9240b787a8e2b3b3f69eec86d68b2b3
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
Signed-off-by: Pawan Kumar <pavaku@codeaurora.org>
wcnss: Notify low vbatt level to WCNSS FW

Listen to low vbatt notification from ADC; and send this notification to
WCNSS firmware. Firmware needs to switch to low power mode, when it's a
low batt situation.

CRs-Fixed: 543439
Change-Id: Id78cbde6ca2a5d37ff52ec4feeb7ec04e38b6adb
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
thermal: qpnp-adc-tm: Check BTM channel index

Check for valid BTM channel index before accessing the
corresponding BTM channel elements.

Change-Id: I27f48793f5eb7a99e49fcc94a009230becf4fa22
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
thermal: qpnp-adc-tm: Add multiple client request support

Add threshold aggregation to support multiple kernel clients
to set thresholds and receive threshold notification once
the thresholds are crossed.
Modify the existing driver to support multiple clients
to set thresholds from kernel space. The existing clients
include setting threshold notification for battery voltage,
pmic die and battery temperature. Based on the clients request
the thresholds are aggregated and the maximum of active
lower_threshold and minimum of higher_threshold is applied as
thresholds and the corresponding clients whose thresholds are
crossed are notified. After notification the next set of
active thresholds are applied and thresholds are re-armed.

Change-Id: I7ab14516af8062c6307ffe719a5cb9c76430fa6e
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Merge "msm: mdss: change SMP allocations for chroma decimation"
Merge "wcnss: Notify low vbatt level to WCNSS FW"
Merge "thermal: qpnp-adc-tm: Check BTM channel index"
Merge "thermal: qpnp-adc-tm: Add multiple client request support"
Merge "msm: mdss: hdmi: Proper HDMI feature check"