Commit graph

578753 commits

Author SHA1 Message Date
Ingrid Gallardo
a1c43be00a msm: mdss: enforce bimc smmu gdsc power sequence
Fix the power on/off sequence based on the
hw recommendation, where bimc smmu gdsc is
powered off after mdss gdsc; and for the
power on sequence the bimc smmu gdsc is
enabled before the mdss gdsc.

Change-Id: Iad005082bcdb07f5529cd5eafd6ecd9c250c9665
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2017-01-24 16:48:40 -08:00
Ingrid Gallardo
e51702e4dd msm: mdss: fix for the mmss gdsc sequence
Current Display driver sets to true the ram status variable
shared with the RPM to prevent MMSS GDSC to go OFF only
when we are about to disable the MDSS GDSC regulator for the
Idle Screen scenario; The potential problem with this is that
there is a 4-vsyncs period of time between the end of the
display last transaction (ping pong done) and the release of
the MDSS GDSC regulator (for Idle Screen) where the Display
related clocks are already released and MDSS GDSC regulator
is still on (so rpm variable is still false), causing that Xo
shutdown (and therefore MMSS GDSC off) can happen while the
MDSS GDSC is still active during this period of time.
This change makes sure that any time that the MDSS GDSC
regulator is enabled or when the MDSS GDSC regulator is
disabled but the Display is still active but in Idle Screen,
Display sets the flag to ensure that the MMSS GDSC regulator
is not disabled by the RPM, flag is released once our MDSS
regulator is disabled for Suspend.
Also, re-arrange the sequence to make sure the change of
the flag happens after we disabled the MDSS GDSC regulator,
so we prevent that by any reason the MDSS GDSC could go off
before the MMSS GDSC regulator.

Change-Id: I141cb893c4e2a54f99e65383e69b4ce88ab4c761
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2017-01-16 14:55:16 -08:00
Linux Build Service Account
6998daf8c5 Promotion of kernel.lnx.4.4-161211.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1092907   I6d73b8f246ae3754ab60984af198333fd284ae16   sched/core: Fix race condition in clearing hmp request
1078814   Ie28323cdabccdc64196fae25deb2f56dfbb5a0e7   ARM: dts: msm: enable the watchdog bark interrupt for sm
1094175   I34a3ad2da7f8e267f0d570c0329ac9b73a43309e   ARM: dts: msm: add qdss node support for msmtriton
1092907   I078d01e63860d1fc60fc96eb0c739c0f680ae983   sched/core: Prevent (user) space tasks from affining to
1096988   I34e3f586b99b6ff1af1d2323d4f272ee3cca7fa2   ARM: dts: msm: Configure MPM for qusb2phy_dpse_hv for ms
1080662   I42e448ecacad4781b460c4c989026307169ba1b5   mm: remove gup_flags FOLL_WRITE games from __get_user_pa
1091972   I9d7cc82c50c1b09610f5a4eac86af4617389f23f   ARM: dts: msm: Add BCL peripheral configs for pmfalcon
1092907   Id06151a8e34edab49ac76b4bffd50c132f0b792f   sched: Ensure proper task migration when a CPU is isolat
1098004   I7d96555573cfd6cca1ca56c877d78fde943f8100   sound: usb: Handle implicit feedback data endpoint prope
1091972   I0062f3b39f00ff2f0e74affcffbcf1afd89d3b2f   power: bcl: Add frequency mitigation as an optional prop
1099112   I014c823bcf2545f005205dde326a074eaa5d7a6a   clk: msm: clock-osm: don't use version register to enabl

Change-Id: Ie97cd9c7d2048e9e540056d4f5f121435a147d05
CRs-Fixed: 1098004, 1094175, 1078814, 1080662, 1092907, 1099112, 1096988, 1091972
2016-12-11 18:37:37 -07:00
Linux Build Service Account
97e6e94b40 Promotion of kernel.lnx.4.4-161210.1.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1087025   I49842df0af73a3124e734632dc3c314e6f5761a1   ARM: dts: msm: add sb_4_tx_vi to support VI recording at
1094151   I4833253803c162c98578ba7ce599ea1edafc1724   ASoC: msm: qdsp6v2: Add mutex in afe_map_cal_data
1096793   I8ba73276fd30f6eaf935ed77b75601f1322c0ba6   qpnp-fg-gen3: Add support for PMFALCON in Fuel Gauge
1094435   Ibe57c7d5ba9e45260c12528910f173e347259d7c   msm: ipa3: check the rx_door_bell value on disable
1097176   I1ec9fe1d473be79ec0a54f2b8cacfc891f5be5bb   ARM: dts: msm: Update clock mmss node for MSMfalcon/Trit
1095917   Ie667fa49c4a8e8c008e8866f655e3bbe3e69e156   power_supply: Add BOOST_CURRENT property
1089373   I1e72bf8855ea1150eb2cedaee82d04610b09bdae   ARM: dts: msm: Update camera GPIO, VREG config for msmfa
1098485   I30a10a63b320cd3cb6d7cc4ef2fba423f697a66f   ARM: dts: msm: Specify coresight trace ID for msm8998
1095116   I943bc4f38385036b21c1f9a2e479d6e94ac12813   phy: qcom-ufs: Modify the vdd-phy min-max range
1093848   Iefcdb57ff598ecb1bafc535958684f75b1f6e645   msm: lmh_dcvsh: Support new API to notify scheduler
1083351   I9a34d522a8dc7e2efca95b5a1ccb6a7a2e260b42   iommu: iommu-debug: Allow full dma_addr_t sized address
1093848   I92b1bd9a5efc9810eea721b088dff1bd6eef3838   msm: thermal: Notify LMH DCVSh driver after freq mitigat
1098353   I95158cce1b20778547615141ffbbb7d81d5e10a1   ARM: dts: msm: Add pinctrl configuration for PMFALCOM L6
1098323   Ie1dcc85f579e0b9817a104be86bbb9e91771b15c   ARM: dts: msm: Add VOL_UP node for MSMFALCON and interpo
1090500   Ib6f715c3f606770e7e0b1f0f84ab50e442398cd0   include: clock: remove ifdef from header file
1091032   I77fea396fda6ee0eaaf0c68b11cf90f268ac1481   ASoC: wcd934x-dsp-cntl: fix the reset sequence
1091417   I4f0a0f21385c9fbf7df004dbf7abba9cb00a2448   msm: vidc: Disable clocks in reverse order
1096674   Ib205ccebaec612fd9d1d6bb1a02a4f14be8f21c1   ARM: dts: msm: Modify QRD interposer dts file for msm899
1097768   I30f8294527275a267bd88115a8a8d44beb2adfb8   defconfig: msmfalcon: enable the USB video class support
1099823   Ia0e3d574de7c78534832e4f8749672eb6fcde1f0   usb: phy: qusb2: Add support to vote for regulator L2a
1087025   If074b7042e09d1e69147546461e6fa42d427350e   ASoC: soc: qdsp6v2: add support for slimbus VI recording
1087025   I440b7826fb5fd4fbd55831c1e89b9b010f3b948c   ASoC: soc: add a new dailink for VI recording
1035099   I3a75ec9503d8207829640bf88e1c3160bf72c9f0   msm-core: use get_user() API to read userspace data/sett
1083351   I2463cef7e0238cf887dcc682977375eb08d6973b   iommu: io-pgtable-arm: Use correct bitmask for pgd entry
983521   Ia767b3f545fae04a08dc48c6d2bb5649b2ac4907   ARM: dts: msm: Specify the WLED interrupts properly for
1074468   I68958c5ecfb71a11f346c5c46884948e4b36eea0   defconfig: msm: msm8998: enable LCDB driver
1089598   Icb998549cdb999c6db2fd52aef505f200e630da5   ASoC: qdsp6v2: prevent null pointer dereference for _vol
1091032   I53a3a9aa540c10932eed7fa29ce7c6050504a9a0   ASoC: wcd-spi: fix clock disable request during shutdown
983521   If3c264c6e3a2bf4b23069c0960b354f7967ecb4c   leds: qpnp-wled: Handle OVP fault interrupt properly
1097176   I7fa2748c113870a20f0e01ae98faf391d195003c   defconfig: Add support to enable MMCC clocks
1083351   I7f88ea845a281c8c1def4f642e61262b53b60e1a   iommu: arm-smmu: Fix clock reference count error
1094027   I33c5625026611856f6cdd8c6e0b5d7ef229ba8c7   ASoC: msm: enable DAP set license logic on 8998
1096134   I5f23f036441a67a3f3828cc432ea57c1c06bc8ae   msm: vidc: Fix kw issues
1092571   I7c6700a44c45360acf8aebc0ab9264c2e08abc8f   ARM: dts: msm: update wcn3990 node for msm8998 interpose
1098349   I3fc77b72e825f4b11724808239eea16aa126de42   soc: qcom: pil: Use NULL check of resource pointer for r
1070398   I108451bae429c8e4c858f7f549c4202f3d59a6d2   ARM: dts: msm: Enable core hang detect feature on msmfal
1098371   I6f9afca5bebd5ad0745b064bb7d1a33f78fe6941   defconfig: Add missing features for HW Encryption suppor
1097768   I6b3c9b49ac973f2472391b3f702908212e3f6e7d   ARM: dts: msm: Attach device memory to lpass iommu on ms
1098559   I2d414689ad7ec2167b3974ae0f40338075609046   msm: msm_bus: Reverse QoS Clocks Disabling Order
1096798   Ia1e83fe40710e80156b049982e9a8421d04902a1   ARM: dts: msm: Add PM support for msmfalcon
1097768   Ifeb779a3323c505d482eb53ad96a1b8aec0f3af5   defconfig: msmfalcon: Enable audiosource gadget driver
1090466   If9e87065bb9fb82befb398f2a3a0d0da2f76efa5   media: dvb-core: Add feed state check before stop dvbdem
1098482   I78ba05ed05b54fdc0f4d4f55c468f90f39c821f1   msm: kgsl: Add trace ID support for graphics coresight
1097675   Ibbdb9857ea88ad65a6c3ac7c52925ab2d2c27797   ARM: dts: msm: add touch node for QTC800H in msm8998 QRD
1097768   I602cac95616da34ffe6462c8cf3af85ce973085b   ARM: dts: msm: Add missing properties for USB node for m
1098484   Ibf2e369c2a4732ebc7471ee103bc8d5d934247ec   ARM: dts: msm: Add GPU coresight properties for msm8998
1081490   I29fa8f488df800d38f6403646e58a19e555ba1cd   ARM: dts: msm: update the smmu device node configuration
1088737   I19f8eef7f664a58cac1a082b8195e48c52613c5d   msm: mdss: dp: correctly ref count the pll resources
1093003   I7c931ca0ad4eed4da9252a05ee426d2ef4bd10b1   ASoc: msm: Add changes to support multiple meta key valu
1098371   I991f3550720526b097c009dc852e9caaabf4860b   defconfig: Enable ext4 ICE encryption for msmfalcon_32
1095232   Iaa442e8e92310ea0761c27af8fda57ffcadadb3d   scsi: ufs: fix shutdown race condition

Change-Id: I68b7f45467a294fc8a1ca502dc4e4b9a33add124
CRs-Fixed: 1091032, 1090466, 1035099, 1098371, 1074468, 1087025, 1096674, 1099823, 1098353, 983521, 1094151, 1096793, 1092571, 1096134, 1098482, 1098485, 1098484, 1095917, 1093848, 1091417, 1097768, 1095116, 1088737, 1089598, 1081490, 1093003, 1097176, 1098349, 1094027, 1094435, 1089373, 1070398, 1097675, 1098323, 1096798, 1098559, 1083351, 1095232, 1090500
2016-12-11 01:20:10 -07:00
Linux Build Service Account
a80e267a8c Merge "ARM: dts: msm: Configure MPM for qusb2phy_dpse_hv for msm8998" 2016-12-10 23:06:39 -08:00
Linux Build Service Account
35640cdd7e Merge "mm: remove gup_flags FOLL_WRITE games from __get_user_pages()" 2016-12-10 23:06:38 -08:00
Linux Build Service Account
b6dff5ca3c Merge "clk: msm: clock-osm: don't use version register to enable WDOG status" 2016-12-10 23:06:38 -08:00
Linux Build Service Account
5332a6cfcb Merge "ARM: dts: msm: enable the watchdog bark interrupt for smb138x" 2016-12-10 23:06:37 -08:00
Linux Build Service Account
6daf3a8c26 Merge "power: bcl: Add frequency mitigation as an optional property for BCL" 2016-12-10 23:06:36 -08:00
Linux Build Service Account
1bb4efc419 Merge "ARM: dts: msm: Add BCL peripheral configs for pmfalcon" 2016-12-10 23:06:36 -08:00
Linux Build Service Account
bd3f1f2aee Merge "ARM: dts: msm: add qdss node support for msmtriton" 2016-12-10 23:06:35 -08:00
Linux Build Service Account
cbd1483f05 Merge "sound: usb: Handle implicit feedback data endpoint properly" 2016-12-10 23:06:34 -08:00
Linux Build Service Account
7643874858 Merge "sched: Ensure proper task migration when a CPU is isolated" 2016-12-10 15:43:17 -08:00
Linux Build Service Account
496c2d7a0f Merge "sched/core: Fix race condition in clearing hmp request" 2016-12-10 15:43:16 -08:00
Linux Build Service Account
71d8813926 Promotion of kernel.lnx.4.4-161210.
CRs      Change ID                                   Subject
--------------------------------------------------------------------------------------------------------------
1095287   I6625eb082d55456e0f71afa8fc6ebdba3f6024a5   msm: ipa: enable suspend pipe for ODU
1094553   Ie3e7929def7b4e77edc33297f8c30a0bcd07bcce   ARM: dts: msm: Update GPUCC clock frequencies for MSMtri
1097675                                               input: misc: add condition check for ddic reset
1097047   I15c9dc3ecf907723a136cbe90597ccafeba91af0   clk: Add vdd_class support for handoff and use_max_uV
1086187   I8d34eecd562ab50a8ec89f241406092d1b763a9a   ARM: dts: msm: Add pinctrl device nodes for HiFi amplifi
1094553   I78e3b241390f9f5c7d8600d8ce933d9ffc9845fa   clk: qcom: gpucc: Update gpu clock support for msmtriton
1097739   I15e248dd9bb3673c21d31acea69a1e892eff51b0   input: ft5x06_ts: fix uninitialized references in ft5x06
983521   Ib372d3272550973fd98992f28b3b9bf7e5eb7f0f   leds: qpnp-wled: Fix the APIs to read/write WLED registe
1097247   If7cee7d36230225621ea74bca8ebb0e1077b94e6   Revert "wil6210: prevent XTAL off in device bootloader"
1084177   Ic6fce52fdf4d1420c2b707ec9bc9cba045066a13   msm: sensor: Validationg function pointers before using
1089405   I8071405a888cd2b23a068ca5b9c3a7808d13821a   coresight: fix 32-bit compilation issues
1096980   I4c05fefa6906ecad408dfd4407b60bc051366f8c   thermal-core: Use rcu for accessing sensor list
1086187   I3f2cadbb74b3a68d91938f20afff2ab0ab42b4bd   ASoC: msm8998: Add support for HiFi amplifier
1060631   Iabc62e9e484717920bfec74a8799de3900a7215e   msm: camera: Notify TZ App about changes of the HW secur

Change-Id: I8fe7e45890330aff4888b3ac1ee8e76e2b92b756
CRs-Fixed: 1097047, 1084177, 1097739, 1097675, 1094553, 1060631, 1097247, 983521, 1086187, 1089405, 1096980, 1095287
2016-12-10 02:17:47 -07:00
Linux Build Service Account
a3ed87c16c Merge "usb: phy: qusb2: Add support to vote for regulator L2a" 2016-12-09 19:59:45 -08:00
Linux Build Service Account
b922308190 Merge "msm: mdss: dp: correctly ref count the pll resources" 2016-12-09 19:59:41 -08:00
Linux Build Service Account
08a4cbeb4d Merge "msm: vidc: Disable clocks in reverse order" 2016-12-09 19:59:40 -08:00
Linux Build Service Account
b6b2f0da26 Merge "msm: vidc: Fix kw issues" 2016-12-09 19:59:39 -08:00
Linux Build Service Account
2528ee722f Merge "iommu: arm-smmu: Fix clock reference count error" 2016-12-09 19:59:38 -08:00
Linux Build Service Account
a7c2e1aaa5 Merge "ASoC: msm: qdsp6v2: Add mutex in afe_map_cal_data" 2016-12-09 19:59:37 -08:00
Linux Build Service Account
fecbef26fe Merge "ASoC: msm: enable DAP set license logic on 8998" 2016-12-09 19:59:37 -08:00
Linux Build Service Account
1b2ac0c02c Merge "ASoC: soc: add a new dailink for VI recording" 2016-12-09 19:59:35 -08:00
Linux Build Service Account
9d1ac7beeb Merge "ARM: dts: msm: Update camera GPIO, VREG config for msmfalcon interposer" 2016-12-09 19:59:34 -08:00
Linux Build Service Account
6506d50448 Merge "defconfig: msmfalcon: Enable audiosource gadget driver" 2016-12-09 19:59:33 -08:00
Linux Build Service Account
21d0a269e6 Merge "defconfig: msmfalcon: enable the USB video class support" 2016-12-09 19:59:30 -08:00
Linux Build Service Account
4a2acf1a09 Merge "scsi: ufs: fix shutdown race condition" 2016-12-09 19:59:29 -08:00
Linux Build Service Account
b7941c1f70 Merge "ARM: dts: msm: add touch node for QTC800H in msm8998 QRD SKUK" 2016-12-09 19:59:28 -08:00
Linux Build Service Account
55f7c3c5f2 Merge "power_supply: Add BOOST_CURRENT property" 2016-12-09 19:59:28 -08:00
Linux Build Service Account
9ad5708a9e Merge "msm: ipa3: check the rx_door_bell value on disable" 2016-12-09 19:59:27 -08:00
Linux Build Service Account
4bd4e0dac9 Merge "qpnp-fg-gen3: Add support for PMFALCON in Fuel Gauge" 2016-12-09 19:59:26 -08:00
Linux Build Service Account
61c5326381 Merge "ASoC: wcd934x-dsp-cntl: fix the reset sequence" 2016-12-09 19:59:25 -08:00
Linux Build Service Account
2b10339b96 Merge "include: clock: remove ifdef from header file" 2016-12-09 19:59:24 -08:00
Linux Build Service Account
14665e2c1d Merge "ASoC: qdsp6v2: prevent null pointer dereference for _vol_cmds" 2016-12-09 19:59:24 -08:00
Linux Build Service Account
5641db9743 Merge "msm: thermal: Notify LMH DCVSh driver after freq mitigation request" 2016-12-09 19:59:22 -08:00
Linux Build Service Account
fcc7ba5c40 Merge "ARM: dts: msm: Specify coresight trace ID for msm8998" 2016-12-09 19:59:21 -08:00
Linux Build Service Account
cfd61208ea Merge "ARM: dts: msm: Add GPU coresight properties for msm8998" 2016-12-09 19:59:21 -08:00
Linux Build Service Account
6a1ef577f4 Merge "ARM: dts: msm: update wcn3990 node for msm8998 interposer" 2016-12-09 19:59:20 -08:00
Linux Build Service Account
6a3a75cda3 Merge "ARM: dts: msm: Attach device memory to lpass iommu on msmfalcon" 2016-12-09 19:59:19 -08:00
Linux Build Service Account
9c459577c7 Merge "msm: msm_bus: Reverse QoS Clocks Disabling Order" 2016-12-09 19:59:14 -08:00
Linux Build Service Account
4f1cebc120 Merge "soc: qcom: pil: Use NULL check of resource pointer for restart register" 2016-12-09 19:59:13 -08:00
Linux Build Service Account
018082dd1b Merge "ARM: dts: msm: Add pinctrl configuration for PMFALCOM L6/9/19" 2016-12-09 19:59:12 -08:00
Linux Build Service Account
de5d70ba03 Merge "ARM: dts: msm: Add missing properties for USB node for msmfalcon" 2016-12-09 19:59:11 -08:00
Linux Build Service Account
7483dccc26 Merge "defconfig: Add missing features for HW Encryption support" 2016-12-09 19:59:10 -08:00
Linux Build Service Account
d18f96a5e1 Merge "defconfig: msm: msm8998: enable LCDB driver" 2016-12-09 19:59:09 -08:00
Linux Build Service Account
54a480de41 Merge "media: dvb-core: Add feed state check before stop dvbdemux feed" 2016-12-09 19:59:09 -08:00
Linux Build Service Account
5fd499075e Merge "ARM: dts: msm: Add VOL_UP node for MSMFALCON and interposer" 2016-12-09 19:59:08 -08:00
Linux Build Service Account
9743dc9288 Merge "ARM: dts: msm: Enable core hang detect feature on msmfalcon" 2016-12-09 19:59:07 -08:00
Linux Build Service Account
e9b171cb47 Merge "phy: qcom-ufs: Modify the vdd-phy min-max range" 2016-12-09 19:59:06 -08:00
Linux Build Service Account
a541a81870 Merge "ARM: dts: msm: Specify the WLED interrupts properly for pmi8998/pm2falcon" 2016-12-09 19:59:05 -08:00