summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/msm (follow)
Commit message (Collapse)AuthorAge
...
| * | | | | | | msm: mdss: Add plane_count range check in mdss WFDBenjamin Chan2017-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For any given output buffer to the MDSS WFD, it is necessary to check the range of the plane_count against the MAX_PLANES definition, in order to avoid any out of bound access. CRs-Fixed: 2028702 Change-Id: I4f1497a3a2e4ca2d30fc268e68cfdacc0d8539ea Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | | Merge "msm: mdss: Add plane_count limit check for mdss_rotator buffer"Linux Build Service Account2017-05-04
|\ \ \ \ \ \ \ \ | |_|_|_|/ / / / |/| | | | | | |
| * | | | | | | msm: mdss: Add plane_count limit check for mdss_rotator bufferBenjamin Chan2017-04-28
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For each input and output buffer given to mdss rotator, it is necessary to check the range of the plane_count value against the MAX_PLANES definition, in order to avoid any plane array out of bound access. CRs-Fixed: 2028681 Change-Id: I117bf5daead17e5e97c62c6dc8e21d1fcc9d8e74 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | Merge "Merge remote-tracking branch 'remotes/quic/dev/msm-4.4-8996au' into ↵Linux Build Service Account2017-05-02
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | msm-4.4"
| * | | | | | Merge remote-tracking branch 'remotes/quic/dev/msm-4.4-8996au' into msm-4.4Zhiqiang Tu2017-05-02
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boot/dts/qcom/msm8996-auto-cdp.dtsi drivers/gpu/drm/msm/Makefile Change-Id: Ief80c28ff1422fd71a0c3d2041531e2ab078ee7a Signed-off-by: Zhiqiang Tu <ztu@codeaurora.org>
| | * | | | | Merge "msm: adv7533: Optimizations for ADV7533 to improve startup time" into ↵Linux Build Service Account2017-04-06
| | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | dev/msm-4.4-8996au
| | | * | | | | msm: adv7533: Optimizations for ADV7533 to improve startup timeAtul Raut2017-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reduce delay in ADV7533 probe routine for auto boot opt. CRs-Fixed: 1018583 Change-Id: If7947b77071cca044733326f044de7c816e23495 Signed-off-by: Atul Raut <araut@codeaurora.org>
| | * | | | | | Merge remote-tracking branch 'remotes/origin/msm-4.4' into dev/msm-4.4-8996auArun KS2017-04-06
| | |\ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: arch/arm/boot/dts/qcom/msm8996pro.dtsi arch/arm64/kernel/Makefile drivers/leds/leds-qpnp-flash.c sound/soc/msm/apq8096-auto.c Change-Id: Idea5d05fec354b8f38ea70643decb03f7b80ddb7 Signed-off-by: Arun KS <arunks@codeaurora.org>
| | * | | | | | Merge "fb: msm_dba: fix issue in dba driver" into dev/msm-4.4-8996auSrivatsa Vaddagiri2017-03-26
| | |\ \ \ \ \ \
| | | * | | | | | fb: msm_dba: fix issue in dba driverJin Li2017-03-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix wrong return value and wrong print message in msm_dba driver. Change-Id: I267deb62adbf6ffc09e3ce36bb2c54e7e6768f0f Signed-off-by: Jin Li <jinl@codeaurora.org> Signed-off-by: Yunyun Cao <yunyunc@codeaurora.org>
| | * | | | | | | msm: mdss: handle synchronization issues during DSI debugfs read/writeRajkumar Subbiah2017-03-23
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle race condition during read/write operations to DSI debugfs nodes related to DSI panel ON/OFF commands. Change-Id: I29c4ad74bf21d4cb5362565e902a682fe7263147 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
* | | | | | | | Merge "msm: mdss: dsi: reset phy during idle screen"Linux Build Service Account2017-04-28
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: dsi: reset phy during idle screenIngrid Gallardo2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add reset of the phy pll when driver exits idle screen. This fixes random failures that were causing dsi commands to fail after exit idle power collapse. Change-Id: I0f6a53aef31c1c00f6d3cf1efceaa8211684412c Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: enable backlight gpio after commit is done"Linux Build Service Account2017-04-27
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: enable backlight gpio after commit is doneAshish Garg2017-04-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backlight gpio was enabled during panel power on. So backlight was turned on before commit was sent to the panel. Ensure backlight gpio is enabled only after the backlight level is set. Change-Id: I30a0a0cfc1c07761ae2b2bea8424d79e7e22ec42 Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: align the size of smmu domain mapping to 128 MB"Linux Build Service Account2017-04-27
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: align the size of smmu domain mapping to 128 MBRaviteja Tamatam2017-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the size of smmu create mapping to have 128 MB alignnment as kernel upstream code on 32-bit mode expects 128 MB aligned virtual address. Change-Id: I5e533f948bbcf4e82ba22b273b1bcad068e4959c Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | | | | | | | | | | Merge "msm: dsi: Turn off supplies in low power state"Linux Build Service Account2017-04-27
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: dsi: Turn off supplies in low power stateAbhijit Kulkarni2017-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change allows certain phy supplies to be turned off when display transtions to low power state. This change adds funtionality to check each supplies setting and accordingly turns off the the regulator if it is allowed in low power state. CRs-Fixed: 2009863 Change-Id: I764a8e65246b5de733f27e4f73d966b19039895d Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: Add check to avoid NULL pointer dereference"Linux Build Service Account2017-04-27
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | msm: mdss: Add check to avoid NULL pointer dereferenceSachin Bhayare2017-04-04
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add mfd NULL check to avoid NULL pointer dereference. Change-Id: I42ec3c73170765a008b9cae6f40a587afc818164 Signed-off-by: Sachin Bhayare <sachin.bhayare@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: wait for pp done when switching from ON to LP1"Linux Build Service Account2017-04-25
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | |
| * | | | | | | | | | msm: mdss: wait for pp done when switching from ON to LP1Rajkumar Subbiah2017-03-28
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a low power mode switch is initiated while a kickoff is in progress, the panel could be turned off before the current frame transfer is completed causing a display hang. This change recognizes this case and waits for the current frame to finish before initiating the power state switch. Change-Id: Ieea32acd67c56a7ed8a83ff92c3b49ad76d70086 Signed-off-by: Rajkumar Subbiah <rsubbia@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: fix a warning for unused value"Linux Build Service Account2017-04-24
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: fix a warning for unused valueAshish Garg2017-04-20
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Value computed is not being used in the statement which is causing a compilation error on some build flavors. Fix the issue by not computing the value as it is not needed. Change-Id: Ia628388deb3057da45989d6376503048b08e8167 Signed-off-by: Ashish Garg <ashigarg@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: Populate alpha for compat"Linux Build Service Account2017-04-24
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: Populate alpha for compatAnimesh Kishore2017-04-20
| | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Copy alpha explicitly from 32 bit layer structure to 64 bit layer structure. CRs-Fixed: 2034181 Change-Id: Iba3e291a828975b8f909956405922d2564427092 Signed-off-by: Animesh Kishore <animeshk@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: Separate PP programming to advanced and deferred modes"Linux Build Service Account2017-04-24
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: Separate PP programming to advanced and deferred modesSravan Kumar D.V.N2017-04-21
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deferring all the PP features programming to post pingpong done in command mode panels causing performance issues in certain use cases. To fix this, defer only the programming of features with single buffered registers and program features with double buffered registers before wait for pingpong. Change-Id: I6a1e8114b50c558f667bde4db5c0ba57009d6f50 Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: check for audio support before notifying frameworks"Linux Build Service Account2017-04-21
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: check for audio support before notifying frameworksSandeep Panda2017-04-19
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation DBA driver always assumes the TV connected is supporting audio. However if the TV connected is in DVI mode or it's EDID does not contain any audio block then it will not support audio data. Hence after parsing EDID, check if the connected TV has support for audio and accordingly configure and send HPD events to audio framework. Change-Id: Id1d175b9c0c1c07bcb4447eeaa907a17c15df098 Signed-off-by: Sandeep Panda <spanda@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: add debug bus support for dsi block"Linux Build Service Account2017-04-21
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | | | | | | | |
| * | | | | | | | | msm: mdss: add debug bus support for dsi blockSandeep Panda2017-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to dump dsi debug bus registers to memory or print in xlog. This will be helpful in analyzing HW behavior more precisely while debugging DSI stability issues. Change-Id: I7735897d9f24ca06e15015cf0d277bfe800b35bf Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: fix race condition during mdp debugfs release"Linux Build Service Account2017-04-20
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: fix race condition during mdp debugfs releaseHarsh Sahu2017-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix race condition in the release of the mdp debugfs functions panel_debug_base_release and mdss_debug_base_release by adding the lock for unpreempted freeing of the buffer so that multiple concurrent processes cannot affect the release which can possibly lead to use-after-free operation on the buffer. Change-Id: I9586081b65ae2eb0e7f6e30c606ee748ae9ef7e8 Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: dp: gracefully handle cable disconnect"Linux Build Service Account2017-04-20
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: dp: gracefully handle cable disconnectAravind Venkateswaran2017-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the downstream DP device is physically disconnected, ensure that all pending events are removed and the event thread is parked. Reset all the software state so that subsequent connection events are handled correctly. CRs-Fixed: 2034023 Change-Id: Ie94b1da903b8e78509220e373bec4ff54026885c Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: dp: fix HDCP 1.x state transitions"Linux Build Service Account2017-04-20
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | msm: mdss: dp: fix HDCP 1.x state transitionsTatenda Chipeperekwa2017-04-13
| |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix HDCP 1.x state transitions by ensuring that transitions to authenticating state can be made from both an uninitialized and a failure state, and making sure that authentication thread is synchronously canceled before transitioning to a disabled state. CRs-Fixed: 2006096 Change-Id: Ic097e16451166f589acbd7c23f87bd9b4c1a65f3 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: fix handling of EDID extension blocksTatenda Chipeperekwa2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current implementation assumes that the first extension block of the EDID data always has the CEA extension tag. This is incorrect and can lead to incorrect parsing of resolution data. Fix this by removing the hardcoding of the extension tag for the first extension block. CRs-Fixed: 2027108 Change-Id: I5ef4cdb186591e291b2217db7ccec6f942d79ca4 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: read the DPCD if the AUX setting have changedTatenda Chipeperekwa2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trigger the reading of DPCD if there was a change in the AUX configuration caused by a failure while reading the EDID. This is required to ensure the integrity and validity of the sink capabilities read that will subsequently be used to establish the mainlink. CRs-Fixed: 2006096 Change-Id: If3a51b5efd9124fd20dc9860e5f2cdb4e466a2c6 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: ignore PHY AUX stop errorAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignore the PHY AUX stop error if we receive this error during an AUX transaction. We can safely ignore this error and proceed to read the buffered data from the hardware since this error happens after the data has been received by the AUX controller hardware. CRs-Fixed: 2006096 Change-Id: Idb3f0e59b572be565e7572db500699471665f287 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: fix programming sequence for aux transactionsAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that all previous interrupt status are cleared before triggering a new aux transaction, and do not set the NO_SEND_STOP request bit for read transactions to align with the hardware programming recommendations. CRs-Fixed: 2006096 Change-Id: Icc17ac7b09d70ab5b330189be38fa32e3bff850e Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: read edid data in shorter burst sizeAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each block of EDID data is usually 128 bytes long. Reading each block in a single burst can sometimes result in incorrect or corrupted data returned from the sink. Add support to read EDID in shorter burst sizes and set the default burst size to 16 bytes. CRs-Fixed: 2006096 Change-Id: I681f2d2eb01de11eadc1857dd5089cbe35befad2 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: fix EDID read sequenceAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the EDID read sequence to first write the offset to request the appropriate EDID block prior to reading the EDID block data. In addition, write the correct segment address when reading more than two extension blocks. CRs-Fixed: 2006096 Change-Id: Ic4b2bd4d4cf9da5e247c5735b4e768b9e2b87b27 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: retry failed AUX transactionsAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Retry AUX read/write transactions that have failed either due to the AUX controller hardware indicating an error via the ISR, or due to a software based timeout while waiting for transaction completion. The transaction retry strategy is as follows: first repeat the transaction using the same PHY AUX settings, and then retry the transaction using updated PHY AUX settings if repeating the transaction has failed. CRs-Fixed: 2006096 Change-Id: Id9c3c7ae1ab320540545b9c178d947a3cd023079 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: update parsing of AUX controller configurationsTatenda Chipeperekwa2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the parsing of the AUX controller configurations more extensible by adding support for multiple settings per configuration, as well as the parsing of the register offsets. This enables the extension to support different targets, and combinations of AUX controller settings depending on the use case. CRs-Fixed: 2006096 Change-Id: I4e6b623a4d9fafcfcc89477dfa57880eb798c350 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: increase AUX controller hardware timeout limitsAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Increase the AUX controller hardware timeout limits to the maximum value supported. This increases the AUX controller hardware's robustness in handling transactions in the face of differing timing from one DisplayPort sink to another. CRs-Fixed: 2006096 Change-Id: Ia0da13720526a96f3a88a849043a3ffbb1185cf7 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: add interrupt handling for PHY AUX errorsAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add interrupt handling for PHY AUX errors that might happen during AUX communication. Read the interrupt status and clear it before initiating the next AUX transaction. This will help identify any issues that result in AUX transaction failures. CRs-Fixed: 2006096 Change-Id: I0733bfb163c8c3c108002fbe4309e36dc105ccb8 Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org> Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | | msm: mdss: dp: fix handling of branch devicesAravind Venkateswaran2017-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A branch device usually notifies a change in downstream connections using the HPD IRQ pulse. Handle this by checking for a change in downstream sink count and appropriately handling EDID reads. It is also possible that the branch device may not have any local EDID. In such cases, when the downstream sink count is zero, do not read EDID. CRs-Fixed: 1112711 Change-Id: I230560c995d7c3b395e37aef5483e5468e1d1dec Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>