summaryrefslogtreecommitdiff
path: root/drivers/video (follow)
Commit message (Collapse)AuthorAge
...
| * | | | | | | | | msm: mdss: Correct video interface setup for AVR featureBenjamin Chan2017-01-31
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When DFPS is not being used and AVR is enabled, it is necessary to program the video interface with correct setting, including a timing engine flush and DSI video control. CRs-Fixed: 1109202 Change-Id: Iadb24da27715353ac3d4825ad053a1c039bd2ee6 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | | | Merge "msm: ext_display: update hpd and notify for HDMI"Linux Build Service Account2017-02-08
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: ext_display: update hpd and notify for HDMILei Chen2017-02-03
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The semantic of hpd and notify have been changed. hpd is a blocking call which notifies display and audio with the cable status, and notify is used to complete the hpd call which waits for the acknowledgment of power on/off. Update these 2 interface implementations for HDMI. CRs-Fixed: 1086894 Change-Id: I8603149132e224cb2859d2b808123238d0516817 Signed-off-by: Ray Zhang <rayz@codeaurora.org> Signed-off-by: Lei Chen <chenl@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: fix mdp vbif qos priorities"Linux Build Service Account2017-02-08
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: fix mdp vbif qos prioritiesIngrid Gallardo2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current driver read if any nrt vbif is present and if it is not, the number of qos priority levels gets wiped out, causing the driver not to program the vbif qos priority levels for the rt client. Fix this problem by making sure that if a vbif nrt does not exist in the platform, driver only ignore the nrt settings, but keeps programming the vbif rt. Change-Id: I2fe5eea5a2ff852b22a59cdb0139b17f3dd7c494 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: Skip ping pong wait when panel is reported dead"Linux Build Service Account2017-02-08
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | |
| * | | | | | | | | msm: mdss: Skip ping pong wait when panel is reported deadBenjamin Chan2017-01-31
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the panel is reported dead, UI framework will perform a stop and restart sequence in the FBdev driver. During the stop sequence, if there are still pending commit, driver will still wait for ping pong done. However, in the case of panel which is dead, waiting for ping pong done will lead to timeout and cause a panic. This change is to by pass the ping pong done waiting and perform cleanup to remove any pending commit status. CRs-Fixed: 1114278 Change-Id: Ia57a80379c0e33cedcbfdae011d11e4b8edf476d Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: Do not apply bl scale if current back light is zero"Linux Build Service Account2017-02-06
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: Do not apply bl scale if current back light is zeroSravan Kumar D.V.N2017-01-29
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling mdss_fb_set_backlight when current back light zero to update bl scale will reset the unset_bl_level to zero. This affects ESD recovery as unset_bl_level is not updated on recovery path. Hence avoiding calling mdss_fb_set_backlight through mdss_bl_scale_config when current backlight is zero. CRs-Fixed: 1115920 Change-Id: I4e3297604a4585233c075f9ca08a6f8f527b0438 Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: dp: fix programming of audio ACR control"Linux Build Service Account2017-02-06
|\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / | |/| | | | | | |
| * | | | | | | | msm: mdss: dp: fix programming of audio ACR controlTatenda Chipeperekwa2017-01-30
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the programming of the audio ACR control by clearing the previous value first, and then ensuring that the audio engine is updated with the correct link rate value. This ensures that audio playback will be done at the correct audio clock rate. CRs-Fixed: 1091543 Change-Id: I392592735ecc46253fc9bc07ae91848dd5d1018a Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
* | | | | | | | Merge "msm: mdss: dp: fix hdcp data address"Linux Build Service Account2017-02-06
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: dp: fix hdcp data addressAjay Singh Parmar2017-01-31
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide correct hdcp related data from a given device to avoid invalid address access related issues. CRs-Fixed: 1114981 Change-Id: I8af0e80fa883f21e989a12a84e8e656d0dcb72d4 Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* | | | | | | | Merge "msm: mdss: fix mdp vbif writeback qos settings"Linux Build Service Account2017-02-06
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: fix mdp vbif writeback qos settingsRaviteja Tamatam2017-02-02
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated changes to apply writeback qos vbif remapper settings for the writeback xin id. Change-Id: I284598f0d5df5348220bae8ef9f2a83c3405a1ce Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | | | | | | | Merge "msm: mdss: Fix 3D Mux when restoring from DSC on/off"Linux Build Service Account2017-02-06
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: Fix 3D Mux when restoring from DSC on/offNaseer Ahmed2017-01-31
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a resolution switch with DSC on/off is executed during suspend, it is possible that both 3D mux & DSC merge are enabled after restore. This change fixes it. Change-Id: I60cead6fea0023ea402f98f207d57099c2287be6 Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
* | | | | | | | Merge "msm: mdss: add support to set the parent of DP pixel clock RCG"Linux Build Service Account2017-02-05
|\ \ \ \ \ \ \ \ | | |_|_|/ / / / | |/| | | | | |
| * | | | | | | msm: mdss: add support to set the parent of DP pixel clock RCGPadmanabhan Komanduru2017-01-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DP pixel RCG clock has multiple parents as per the clock plan and doesn't have a fixed frequency table defined in the common clock driver. For targets which use common clock framework like SDM660, the parent of such RCGs need to be set by the client itself. Add support to set the parent of DP pixel RCG clock. Change-Id: I00ec66725ab40de28db84593c111d402a7bd7ac8 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
* | | | | | | | Merge "msm: mdss: dp: add support for DP PHY register offset property"Linux Build Service Account2017-02-05
|\| | | | | | |
| * | | | | | | msm: mdss: dp: add support for DP PHY register offset propertyPadmanabhan Komanduru2017-01-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a DT property to specify DP PHY register offset for display port. There is a register offset difference for a few DP PHY registers between msm8998 and SDM660 and hence this is needed. Add changes to program DP PHY registers by accounting for this register offset difference wherever applicable. Change-Id: I515432830ae6c3fa3223f0c97af7b0a3965afc40 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
| * | | | | | | msm: mdss: dp: featurize MDSS display port configuration settingsPadmanabhan Komanduru2017-01-30
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Display port settings for logical to physical lane mapping and AUX configurations are different between msm8998 and SDM660. Add support to parse these settings from MDSS DT file. Add the relevant settings for the same in msm8998 MDSS device tree node. Change-Id: I5046b2523928e34ef42924f495dfc754d9ac6ea7 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org> Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
* | | | | | | Merge "msm: mdss: Fix possible integer overflow"Linux Build Service Account2017-02-05
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: Fix possible integer overflowSravan Kumar D.V.N2017-01-24
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid possible integer overflow while validating mdp3 lut config parameters. Change-Id: Ie3f59748e613fbbf755a98dcc688491a8c4e2cca CRs-Fixed: 1104664 Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
* | | | | | | Merge "msm: mdss: Enable dest_scaler support in mdp for sdm660"Linux Build Service Account2017-02-05
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | |
| * | | | | | msm: mdss: Enable dest_scaler support in mdp for sdm660Rajesh Yadav2017-01-21
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable destination scaler support in mdp capabilities for sdm660. Change-Id: Iaea5b4501af29e23532bf5a8f81f7f45c7730230 Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
* | | | | | Merge "msm: mdss: Disable traffic shaper for pipe in command mode"Linux Build Service Account2017-01-30
|\ \ \ \ \ \
| * | | | | | msm: mdss: Disable traffic shaper for pipe in command modeJayant Shekhar2017-01-27
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add check to disable traffic shaper for pipe in command mode for sdm660 target. Change-Id: Id67ae89cbee90922212cc7cd6edafcae4ab4d0fc Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | | | Merge "msm: mdss: Fix handling of Doze mode"Linux Build Service Account2017-01-30
|\ \ \ \ \ \
| * | | | | | msm: mdss: Fix handling of Doze modeAbhijit Kulkarni2017-01-24
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fails the atomic validation if the commit happens when panel is in ultra low power mode. This change also initializes the play count when the panel power state changes. Change-Id: Ie55dca6c8160c0eef4d4d01635d50d2d011e228c Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | Merge "msm: mdss: Add partial update support for dest-scaler"Linux Build Service Account2017-01-30
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | msm: mdss: Add partial update support for dest-scalerBenjamin Chan2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When applying partial update for command mode panel, the ROI is calculated from the mixer ROI. When destination scaling is enabled, the ROI for command mode panel should be the ROI after the scaling. This panel ROI is provided from the user mode where the scaling is calculated from. CRs-Fixed: 1082694 Change-Id: Iac899e5130fdd7d34e598998f4b5cab601cf7a22 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
| * | | | | msm: mdss: Add interface to support dest-scaler partial updateBenjamin Chan2017-01-23
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When destination scaler is used, the partial update ROI setting from the layer mixer is not correct to program the panel ROI. We need an extra panel ROI setting in such usecase. CRs-Fixed: 1082694 Change-Id: Ieda5d43b6c52987464cf88aba6526da4441ee1d9 Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | Merge "msm: mdss: expose HDR information to panel sys node"Linux Build Service Account2017-01-28
|\ \ \ \ \
| * | | | | msm: mdss: expose HDR information to panel sys nodeRay Zhang2017-01-19
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose HDMI sink HDR information using panel sys node. These HDR information contains peak brightness and blackness level. CRs-Fixed: 1113352 Change-Id: Id254ce870184500962d386fd901bf2ab8ec3ee7c Signed-off-by: Ray Zhang <rayz@codeaurora.org> Signed-off-by: Lei Chen <chenl@codeaurora.org>
* | | | | Merge "msm: mdss: fix use of uninitialized local variable"Linux Build Service Account2017-01-28
|\ \ \ \ \
| * | | | | msm: mdss: fix use of uninitialized local variableAbhijit Kulkarni2017-01-24
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes unitilized local variable being used and checks for the valid format in concurrent writeback case before using the format parameters. CRs-Fixed: 1110015 Change-Id: I61a3e20af1d0a4db7a7db454ae35b810639744ae Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | Merge "msm: mdss: Clear compat structures before copying to user"Linux Build Service Account2017-01-28
|\ \ \ \ \
| * | | | | msm: mdss: Clear compat structures before copying to userSravan Kumar D.V.N2017-01-24
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the compat layer, the temporary structures used to convert data from 32bit to 64bit structures need to be set to 0 before being assigned values. CRs-Fixed: 1103689 Change-Id: I405500f427f3f4dc4d38a9fb188fece9a31614ca Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
* | | | | Merge "msm: mdss: fix tearcheck when enter low power mode"Linux Build Service Account2017-01-28
|\ \ \ \ \
| * | | | | msm: mdss: fix tearcheck when enter low power modeIngrid Gallardo2017-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During transition from ultra low power mode to low power mode, tear check is not reconfigured, which can cause problems during the doze mode use case. Fix this problem by making sure that tearcheck gets reconfigured. Change-Id: I5dc0dd78d98c768ef70c795ac974bb4574c55a0f Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | Merge "msm: mdss: disable dsi timing db once fps is updated"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: disable dsi timing db once fps is updatedSandeep Panda2017-01-24
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation, once dynamic fps update kicks in, MDSS driver enables DSI timing db property. But from chipsets like sdm660, DSI_CMD_OFFSET and DSI_CMD_LENGTH register has become double buffered and since timing db property was enabled as part of dynamic fps update, DSI commands transfer for backlight update, panel health check or panel off might fail if there is no control flush. So disable DSI timing db property once dynamic fps update sequence is complete. Change-Id: I5158a36c9eea8f257ec81bab2f260e072fc22f29 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | Merge "msm: mdss: hdmi: remove improper return when hdcp is off"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: hdmi: remove improper return when hdcp is offRay Zhang2017-01-17
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't send failure message back to hdcp lib when HDCP engine is off. CRs-Fixed: 1098298 Change-Id: Ic64a05ef3ea77ff35a093cf8608f5c6dfd8a50cb Signed-off-by: Ray Zhang <rayz@codeaurora.org> Signed-off-by: Lei Chen <chenl@codeaurora.org>
* | | | | | Merge "msm: mdss: Add low persistence mode support for display"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: Add low persistence mode support for displayYahui Wang2017-01-19
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Snapshot of low persistence mode changes as of 26cfe58bd94a ("msm: mdss: Add support for low persistence display mode") and a805a3e1e791 ("arm64/dts: angler: Don't blank screen when leaving low persistence mode"), to add low persistence mode support for display. Also, add some changes to optimize the implementation for LP mode and fix crash issue when VR APP is up. CRs-Fixed: 1104888 1108207 Change-Id: I509fb5c87d93e2416882942a226cb9b48bc1d3bf Signed-off-by: Yahui Wang <yahuiw@codeaurora.org>
* | | | | | Merge "msm: mdss: fix potential null pointer dereference in HDMI driver"Linux Build Service Account2017-01-28
|\ \ \ \ \ \
| * | | | | | msm: mdss: fix potential null pointer dereference in HDMI driverRay Zhang2017-01-18
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some cases in HDMI driver where NULL pointers might be dereferenced. Fix them by validating pointers before access. CRs-Fixed: 1091211 Change-Id: I229b9a9b0979de74bb09d04737742c71eb05bd69 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
* | | | | | Merge "msm: mdss: Fix potential null pointer dereference"Linux Build Service Account2017-01-28
|\ \ \ \ \ \