Commit graph

578492 commits

Author SHA1 Message Date
Linux Build Service Account
33fe35c72b Merge "ARM: dts: msm: Add msm-core device for msmfalcon" 2016-11-29 16:18:45 -08:00
Linux Build Service Account
a0a8e0a795 Merge "ARM: dts: msm: add demo battery profile to msm8998 MTP" 2016-11-29 16:18:44 -08:00
Linux Build Service Account
bfad4eb4f0 Merge "ARM: dts: msm: add a demo battery profile for pmi8998 FG" 2016-11-29 16:18:44 -08:00
Linux Build Service Account
852e2711b3 Merge "msm: cpp: Fix for buffer overflow in cpp." 2016-11-29 16:18:42 -08:00
Ajay Singh Parmar
0fc50c6dd9 msm: mdss: hdcp_1x: update hdcp state on link integrity failures
In case of link integrity failures reported by sink, tear down
the hdcp session. Complete any thread waiting for a response
from sink as part of hdcp protocol to avoid unnecessary delays
in starting new hdcp session.

Change-Id: I0afc56e0177ceccf76b717a483584f7ad5055fe1
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-11-29 15:45:14 -08:00
Jayant Shekhar
47d0c2b4a7 msm: mdss: Fix null pointer reference during debug init
Some targets doesn't seem to have vbif_nrt_phys in dtsi
file but we still register the debug node for vbif_nrt_reg
and off without checking whether it exists or not. Ensure
this is checked to avoid null pointer reference.

Change-Id: Icce8823f80e586bc4827d8db18dceb2fb866c2f9
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-11-29 12:37:15 -08:00
feifanz
419c2b4a7c msm: mdss: Add HFP_CALC_CLK way to switch frame rate
Add support to switch non-standard framerate.To achieve this,
first map the fps to standard fps and then tune pixel clock
based non-standard framerate. Panel porches might need update
before pixel clock tuning based on standard framerate mapping.

CRs-fixed: 1032036
Change-Id: I49995875338cd2a3b57e88753cfda1bfa97910dd
Signed-off-by: feifanz <feifanz@codeaurora.org>
Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org>
2016-11-29 12:35:47 -08:00
Sandeep Panda
b790cce49b msm: mdss: Access DSI registers before turning off clock
BTA complete interrupt comes and turns off the clocks. In another
thread we read the panel status and DSI ack returns error. In the
error condition we are trying to read some DSI registers even
when the clocks are turned off.

Change-Id: Ica77c16f3cf4b69f46c9003bb299c6413e199468
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2016-11-29 12:35:47 -08:00
Krishna Chaitanya Devarakonda
1e4b598042 msm: mdss: change error return value for lineptr sysfs entries
Changing the error return value for lineptr sysfs entries, when
the sysfs operation is not allowed. Returning EAGAIN might make
the verification tests to continuously query the sysfs nodes, or
block it. Returning EPERM will fail the query, which is expected.

Change-Id: I43500c07a318da9e2624a1631134228ad45e1cc7
Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
2016-11-29 12:35:06 -08:00
Xu Han
faa15e264a ARM: dts: msm: Change camera mount angle for msm8998 QRD device
Change rear and front camera mount angles to have proper orientation.

Change-Id: I7e06e71e0f30d5fa030af52c0bc297f6530bb2fb
CRs-fixed: 1069735
Signed-off-by: Xu Han <hanxu@codeaurora.org>
2016-11-29 12:33:43 -08:00
Tatenda Chipeperekwa
15a1ac8898 msm: mdss: dp: fix parity byte calculation
Fix the parity byte calculation for Audio SDP's that are
sent to the sink during audio playback. If the input data
for the parity byte calculation is only a byte in length,
then the shift operation must only take the first two
nibbles of the byte.

CRs-Fixed: 1076516
Change-Id: Ib686a9aa5198c8e1b30cf37bb3d9c8b259d5fd84
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-11-29 11:43:24 -08:00
Tatenda Chipeperekwa
bc41dd07f8 msm: mdss: dp: remove excessive logging from AUX transactions
Remove excessive logging from AUX transaction procedures as these
logs amount to log spam while debugging.

CRs-Fixed: 1076516
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Change-Id: Id308267ffe9faf178f7b413c17b44fd68f5b6fef
2016-11-29 11:43:21 -08:00
Tatenda Chipeperekwa
99cb5f3d7b msm: mdss: dp: update sink count during hotplug event
Update the sink count during the hotplug event in order
to detect hotplug events which involve more than one
sink device.

CRs-Fixed: 1076516
Change-Id: Ic3956da41e04d6287803478527964001db46c67b
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-11-29 11:43:18 -08:00
Tatenda Chipeperekwa
7ea6182fb7 msm: mdss: dp: update AUX error codes to match I2C error codes
Update the AUX error codes to match the I2C error codes so that
the driver has the correct corresponding error code. This is
useful for debugging problems in which there is an AUX
transaction failure.

CRs-Fixed: 1076516
Change-Id: I3857905e5cc916a3e095fa8fcf3d170b172a8efd
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-11-29 11:43:14 -08:00
Tatenda Chipeperekwa
53863e5397 msm: mdss: dp: enter failsafe mode on EDID read failure
Add support to enter failsafe mode on EDID read failures
that might be caused by corrupt EDID blocks or AUX
transaction failures. The failsafe mode for this driver
is 640x480 at 60fps, in accordance with the Display Port
v1.3 specification.

CRs-Fixed: 1076516
Change-Id: Ia3895fb0e860991173ffcde604c165d007cfa972
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-11-29 11:43:11 -08:00
Tatenda Chipeperekwa
0178c6e499 msm: mdss: dp: add support for automated EDID tests
Add support to parse the test request vector to determine
whether an automated EDID test has been requested. If requested,
send the checksum found in the first EDID block back to the sink
for validation.

Change-Id: I40159e554c1be1972a7e2d91a9792aee89171ac3
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
CRs-Fixed: 1076516
2016-11-29 11:43:07 -08:00
Tatenda Chipeperekwa
ea4ad3a2de msm: mdss: dp: add support for a new 1080p configuration
Add support for a new 1080p configuration which utilizes 4 lanes
at a link rate of 2.7 GBps. This configuration is added to the
existing table that stores the transfer unit values for
different link and resolution combinations.

Change-Id: I37a20885445dfff4cf0b9a77c1e948d6793d834b
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
CRs-Fixed: 1062508
2016-11-29 11:43:04 -08:00
Harshdeep Dhatt
c0d96c8a76 msm: kgsl: Update ringbuffer timer when preemption completes
Ringbuffer timer should always be reset whenever we finish
preempting to that ringbuffer. Currently, there is a case where
wptr in the hardware and the kgsl are identical and thus
the timer isn't reset. Reset the timer regardless if they are
identical or not.
There is one special case when we shouldn't reset the timer.
This happens when we try to figure out next ringbuffer to preempt
but the next ringbuffer is the same one as current. In that case,
if nothing new got submitted to this ringbuffer, then don't reset
the timer.

Change-Id: I6b5aea46f1769021b39ba6e135bef780719a92e7
Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
2016-11-29 09:33:09 -07:00
Linux Build Service Account
bde539edca Merge "Crash due to mutex genl_lock called from RCU context" 2016-11-29 07:44:08 -08:00
Linux Build Service Account
1b8c9dabd1 Merge "qpnp-fg-gen3: Add support to configure auto recharge voltage" 2016-11-29 07:44:07 -08:00
Linux Build Service Account
fbfd0301be Merge "sched: Disable interrupts while holding related_thread_group_lock" 2016-11-29 07:44:06 -08:00
Linux Build Service Account
a95f91f51a Merge "clk: fix critical clock locking" 2016-11-29 07:44:05 -08:00
Linux Build Service Account
925ce43342 Merge "clk: Provide OF helper to mark clocks as CRITICAL" 2016-11-29 07:44:04 -08:00
Linux Build Service Account
66a95af435 Merge "usb: gadget: Notify QTI upon cable connect for DPL" 2016-11-29 07:44:00 -08:00
Brahmaji K
52ab253870 ARM: dts: msm: Add qseecom device node for msmfalcon
Add qseecom device node with all the necessary parameters,
to enable qseecom driver on msmfalcon.

Change-Id: Ib29962ebc7427391d7c0e355fa46156d2a8d15e5
Signed-off-by: Brahmaji K <bkomma@codeaurora.org>
2016-11-29 16:38:05 +05:30
Shankar Ravi
403cd70988 ARM: dts: msm: Front camera config for msmfalcon interposer
1. Voltage regulator changes for front camera
   and eeprom.
2. Gpio changes for front camera and eeprom.
3. Flash changes for rear and front camera.

Change-Id: I85128fab65611a66d7d04a896502c75d8212a736
Signed-off-by: Shankar Ravi <rshankar@codeaurora.org>
2016-11-29 15:10:46 +05:30
Linux Build Service Account
2be8fc81c3 Merge "net: add SOCK_RCU_FREE socket flag" 2016-11-28 23:58:04 -08:00
Linux Build Service Account
e8e6638a9e Merge "ARM: dts: msm: Remove msm_bus bandwidth vote for msm8998" 2016-11-28 23:58:03 -08:00
Linux Build Service Account
9466e2c254 Merge "msm: mdss: dp: Fix PD compliance issues" 2016-11-28 23:58:02 -08:00
Linux Build Service Account
a16b037ec0 Merge "msm: mdss: hdcp_1x: add cp_irq support" 2016-11-28 23:58:00 -08:00
Linux Build Service Account
36b534d1ff Merge "msm: sde: Force setting SDE rotator clock even rate is the same" 2016-11-28 23:57:59 -08:00
Linux Build Service Account
f2f8e391d8 Merge "msm: mdss: Remove backlight min level checks during backlight scaling" 2016-11-28 23:57:58 -08:00
Linux Build Service Account
d7ab29dbb6 Merge "diag: Set in_busy only after initialization of read buffers" 2016-11-28 23:57:57 -08:00
Linux Build Service Account
46c5a88fdf Merge "sched/core: Do not free task while holding rq lock" 2016-11-28 23:57:56 -08:00
Linux Build Service Account
c62f791a9d Merge "ARM: dts: msm: remove msm8998-mtp reference for msm8998 QRD device" 2016-11-28 23:57:55 -08:00
Linux Build Service Account
52ce5dee28 Merge "clk: WARN_ON about to disable a critical clock" 2016-11-28 23:57:53 -08:00
Linux Build Service Account
608623f6b3 Merge "mdss: display-port: fix MSA settings for 5.4 Ghz link rate" 2016-11-28 23:57:52 -08:00
Linux Build Service Account
ea956df8a1 Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD SKUK" 2016-11-28 23:57:47 -08:00
Linux Build Service Account
7476049131 Merge "ARM: dts: msm: Add bluetooth node for WCN3990 in msm8998 QRD VR1" 2016-11-28 23:57:46 -08:00
Linux Build Service Account
52b94c7f09 Merge "clk: msm: Add clock_debug_print_enabled for common clock" 2016-11-28 23:57:45 -08:00
Linux Build Service Account
592203a5ae Merge "adreno_tz: Fix divide by zero problem in gpu_load_show()" 2016-11-28 23:57:44 -08:00
Linux Build Service Account
48a508c8de Merge "msm: camera: ispif: Ratelimit message" 2016-11-28 23:57:43 -08:00
Linux Build Service Account
ed5bf14e0e Merge "ARM: dts: msm: Modify ACD_EXTINT_CFG value for msm8998 v2" 2016-11-28 23:57:36 -08:00
Linux Build Service Account
737b90d9f8 Merge "msm: mdss: fix intf_num in irq enable/disable for CWB" 2016-11-28 23:57:34 -08:00
Linux Build Service Account
148939c0a4 Merge "defconfig: msm: Add the perf config for msmfalcon target" 2016-11-28 23:57:33 -08:00
Linux Build Service Account
6f133efb36 Merge "ARM: dts: msm: update clock regulator nodes for msm8998 interposer" 2016-11-28 23:57:32 -08:00
Linux Build Service Account
40493b8042 Merge "qos: Register irq notify after adding the qos request" 2016-11-28 23:57:32 -08:00
Linux Build Service Account
215aba36c9 Merge "wil6210: support FTM/AOA while unassociated" 2016-11-28 23:57:30 -08:00
Linux Build Service Account
4f8eca79ce Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QVR8998" 2016-11-28 23:57:30 -08:00
Linux Build Service Account
e447498cb4 Merge "ARM: dts: msm: Add VADC_HC and BTM channels for QRD8998 SKUK" 2016-11-28 23:57:29 -08:00