summaryrefslogtreecommitdiff
path: root/drivers/video (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | | | | | | Merge "msm: mdss: hdcp2p2: fix sysfs node name"Linux Build Service Account2017-02-26
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: hdcp2p2: fix sysfs node nameAjay Singh Parmar2017-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the name of the sysfs node used by user modules to avoid file access issues. CRs-Fixed: 1114981 Change-Id: Ief0a8ce77a932ce4923e2ec6ee2477d4e2c9627c Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: handle programming of MDP_HDMI_DP_CORE_SELECT register"Linux Build Service Account2017-02-26
|\| | | | | | | | | | |
| * | | | | | | | | | | msm: mdss: handle programming of MDP_HDMI_DP_CORE_SELECT registerPadmanabhan Komanduru2017-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The MDP_HDMI_DP_CORE_SELECT register acts as a mux to select HDMI or DP core for shared interface with LPASS. During suspend/resume use-case with Display Port connected, this register is getting reset to 0x0 during programming of video mode timing generator for DSI interface. This causes HDMI mode to be selected and audio doesn't work after resume on external TV. Handle the programming of this register. Change-Id: I32b1825eb90694deaab20df0eafe68ccbcab4ef1 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: Correct prefill bandwidth calculations"Linux Build Service Account2017-02-26
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | msm: mdss: Correct prefill bandwidth calculationsJayant Shekhar2017-02-21
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | vbp_min is calculated as 0 because variable is incorrectly compared. Fix this to correct prefill bw calculation. Change-Id: I80c3db2898111b5e8acdccc35af745dde30c0509 Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: Install sync fences after user copy"Linux Build Service Account2017-02-23
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|/ / |/| | | | | | | | | |
| * | | | | | | | | | msm: mdss: Install sync fences after user copyNaseer Ahmed2017-02-13
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If userspace closes the fd after an error on copying to userspace, the fences may be freed incorrectly. Make sure fences are installed after all checks pass. Bug: 32402303 Change-Id: Ieb50296c87e09549db2734bd70bb6ee8d311ad40 CRs-Fixed: 2000664 Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: Correct mixer enumeration for sdm630"Linux Build Service Account2017-02-21
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / |/| | | | | | | | |
| * | | | | | | | | msm: mdss: Correct mixer enumeration for sdm630Jayant Shekhar2017-02-21
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For sdm630, LM0 and LM2 layer-mixers are present. LM1 interface mixer is removed. So, enumerate the LM2 mixer correctly. Change-Id: Iceff8f215ca34e95556368a13a9b0c8aeb7c2ef3 Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: fix secure session power vote"Linux Build Service Account2017-02-20
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | msm: mdss: fix secure session power voteAbhijit Kulkarni2017-02-15
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change fixes the clock and gdsc disable for smmu. During transitioning to secure session, smmu session is detached but vote for clock and gdsc is not removed since smmu hardware is still being used. So there remains an additional vote and this renders smmu related clocks and bimc gdsc always on when we transition back to non-secure state. This change fixes the unbalance of this vote. CRs-Fixed: 2004902 Change-Id: I363a4acfd17b96afc05cfe78cd9a4defba674f55 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | | | Merge "msm: mdss: Rate limit hist bin error logs"Linux Build Service Account2017-02-18
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: Rate limit hist bin error logsRajesh Yadav2017-02-13
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incase of underflow, hist bin errors are flooding the kernel logs. Rate limit the hist bin error logs. CRs-Fixed: 2005935 Change-Id: Ief360271f0dfa9b68beea87f8fb2bbad379eddac Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>
* | | | | | | | Merge "msm: mdss: Use DMA pipe in pan display path for SDM 3.x.x"Linux Build Service Account2017-02-18
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: Use DMA pipe in pan display path for SDM 3.x.xJayant Shekhar2017-02-14
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use DMA pipe for framebuffer as RGB Pipe type is not available for SDM 3.x.x targets. Change-Id: I4dad1df561badceb07d473c4530553a5b53753d1 Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | | | | | Merge "msm: mdss: fix autorefresh during kickoff"Linux Build Service Account2017-02-18
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: fix autorefresh during kickoffIngrid Gallardo2017-02-10
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When autorefresh is enabled, any kickoff that gets processed needs to wait to make sure the transfer is on-going before continuing the commit; current driver only waits for autorefresh interrupt but this doesn't guarantee that transfer is already on-going. This change waits for the write pointer, to make sure a transfer is on-going. Change-Id: I247b3aad8f2f6ea8954d54f34492e293f80f99d4 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | Merge "msm: mdss: correct bpp for TP10 in bandwidth calculations"Linux Build Service Account2017-02-18
|\ \ \ \ \ \ \ \ | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | msm: mdss: correct bpp for TP10 in bandwidth calculationsIngrid Gallardo2017-02-10
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current driver uses a 1.5 bpp for bandwidth calculations in any format with 420 chroma sample. This is wrong for TP10 pixel format, where we need to use 2 bpp. Fix this issue by making sure driver uses the correct bpp for this pixel format. Change-Id: I00c7349513fcb992565bf5ab1463900194a3d146 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | Merge "msm: mdss: fix Display Port boot-up with default resolution"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \
| * | | | | | | msm: mdss: fix Display Port boot-up with default resolutionPadmanabhan Komanduru2017-02-09
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Display Port driver treats 480p as the default resolution during driver probe for panel info initialization. At this point of time, the EDID data of the sink will not be available and the bpp of sink is set as 18 by default. If a sink is connected first time on boot-up with 480p resolution, the panel information doesn't get updated since current VIC and new VIC are the same. If the panel bpp specified in EDID is not 18, display might fail to come up. Handle this issue by updating the panel info every time when a DP connection is established independent of whether VIC changed or not. Change-Id: Icb8809986724ac3bad6df3721c9efd4815b32853 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
* | | | | | | Merge "msm: mdss: dp: add support to parse maximum PCLK from dtsi for ↵Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | display port"
| * | | | | | | msm: mdss: dp: add support to parse maximum PCLK from dtsi for display portPadmanabhan Komanduru2017-02-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For SDM660 and MSM8998 even though the DP controller version is the same, there is a difference in the maximum pixel clock frequency supported between these targets. Add support to parse this property from the MDSS Display Port dtsi node as an optional property. Change-Id: I568ac44e41c7bf34f4b87b3199cdecad54e166c3 Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
* | | | | | | | Merge "msm: mdss: Add HDR Metadata Interface"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: Add HDR Metadata InterfaceArun Kumar K.R2017-02-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define an interface to help user-space to pass the HDR stream information to the driver which will be used in configuring HDMI and DP interfaces. Use the new interface in HDMI and make necessary changes while reading the info. CRs-Fixed: 2004813 Change-Id: I3447c7b2ad5c4ca072becbeb2201e27c4f57c1dd Signed-off-by: Arun Kumar K.R <akumarkr@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: mask DSI FIFO overflow errors during BTA operation"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: mask DSI FIFO overflow errors during BTA operationSandeep Panda2017-02-12
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some DSI panels where porch values are less, if BTA operation does not finish in BLLP period, then fake overflow errors are expected. So disable DSI FIFO overflow errors before triggering BTA and enable it back once BTA acknowledgment is received for video mode panels. Change-Id: If63ac6435f5786c834fe797478c38a9a2f51076b Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: Handle ping pong split configuration in splash done"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: Handle ping pong split configuration in splash doneNaseer Ahmed2017-02-03
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After continuous splash reconfiguration, when turning off the clocks ping pong split configuration is not handled properly. Pingpong split uses single controller and dual context, so the second context of the same controller should be used instead of the slave controller. Change-Id: Ibafdfd0aba4e0f02f141d60cb8866f353137a3ce Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: Add mdss capabilities for sdm630"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: Add mdss capabilities for sdm630Jayant Shekhar2017-02-10
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add MDSS version info along with other capabilities for sdm630. Change-Id: Ia34831b56c1ca32d17b56e6030c847b629a13a0b Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: avoid overflow in mdp clock rate calculation for rotator"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: avoid overflow in mdp clock rate calculation for rotatorHarsh Sahu2017-02-07
| | |_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The width and height in calculation of the clk_rate comes from user. This change checks these values against its maximum value allowed. In case of overflow it returns immediately with invalid argument. Change-Id: Idbf7cf0c425769ab7b672b781aa791bbfd77916d Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
* | | | | | | | | Merge "msm: sde: Ensure mdp splash cleanup before initiating rotation request"Linux Build Service Account2017-02-15
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | msm: sde: Ensure mdp splash cleanup before initiating rotation requestJayant Shekhar2017-02-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MDP and ROT use same Smmu context banks. If rotation request comes when MDP is operating on physical address then fail the request such that composition can fall back onto GPU. Allow HW rotation when MDP switches to Virtual address access. Change-Id: I8662855ddd09d9ca2bb074a0bcc11e759a6809df Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
| * | | | | | | | msm: mdss: update vbif Qos remapper settings for RotatorRaviteja Tamatam2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rotator and MDP share same Vbif. Made changes to apply vbif remapper settings for respective rotator xin id. Also, due to common vbif, register mutex lock is now shared. Change-Id: Ifdfb36ce5c8f26196ab4f8f56487cf135bbd12ce Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: enable dest_scaler data protection"Linux Build Service Account2017-02-09
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: enable dest_scaler data protectionAbhijit Kulkarni2017-01-31
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables the mutex for driver dest_scaler data structure. Before this change display_thread could be updating the registers based on the dest scaler data for the previous commit and the user thread could go ahead and update the same data strcture for the same commit. This could cause incorrect register programming. This change necessitated moving the dest scaler update out of pp updates so that we don't block the mutex till the end of the commit. CRs-Fixed: 1105994 Change-Id: I75d6f159e02fb1c0ed95bc5b6224843c61ec2da2 Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | | | | Merge "msm: ext_display: increase timeout value to 5 seconds"Linux Build Service Account2017-02-09
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: ext_display: increase timeout value to 5 secondsManoj Kumar AVM2017-02-08
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For targets not having a HAL component, a userspace testapp has to be manually run to trigger a frame update which will in-turn trigger the unblank sequence. This testapp needs to be run within the specified timeout value of the hpd_comp. Current value of 2 seconds is not enough and causes false errors and subsequent failures. Increase timeout value to 5 seconds to avoid false timeouts for no framework cases. CRs-Fixed: 1115561 Change-Id: I14f64f781c19268510128f5fa819e7fd0d33c78b Signed-off-by: Manoj Kumar AVM <manojavm@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: Fix advertising HDR capability"Linux Build Service Account2017-02-09
|\ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / |/| | | | | | | |
| * | | | | | | | msm: mdss: Fix advertising HDR capabilityAbhijit Kulkarni2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDR capability is not getting exposed for msm8998. This is happening after the msmfalcon changes got merged. This fix adds the hdr capbility to msm8998 and removes from msmfalcon. CRs-Fixed: 1116049 Change-Id: I81e0b3d90a03db6e655341338e03aea2911de89f Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: share MDP smmu device mappings with other mdss clients"Linux Build Service Account2017-02-09
|\ \ \ \ \ \ \ \ \ | | |_|_|/ / / / / | |/| | | | | | |
| * | | | | | | | msm: mdss: share MDP smmu device mappings with other mdss clientsKalyan Thota2017-02-07
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rotator and MDP share same stream ID on sdm600 target, hence share the smmu device with rotator device to map/unmap its buffers. The change will also handle different secure usecase concurrencies like, mdp running in secure and rotator in non-secure and vice versa. Change-Id: I3ff118baed3984d63e9a9fe94289d99523c7b3e9 Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
* | | | | | | | Merge "msm: mdss: dp: add null check for token value"Linux Build Service Account2017-02-09
|\ \ \ \ \ \ \ \
| * | | | | | | | msm: mdss: dp: add null check for token valueTatenda Chipeperekwa2017-02-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a null check for a token value that is returned from a string splitting function. This will prevent null pointer dereferencing when attempting to use the token. CRs-Fixed: 2002785 Change-Id: I6d3c1dafc2c7d0914c116c73a8ed115c2c8f9e86 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: fix frame rate calculation for DP interface"Linux Build Service Account2017-02-09
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | msm: mdss: fix frame rate calculation for DP interfaceSandeep Panda2017-02-02
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the current implementation the frame rate value for DP interface is returning wrong value which in turn results in wrong estimate of bandwidth votes and causes underrun on DP panels. Fix the issue by back calculating frame rate from pixel clock value read from EDID. Change-Id: I611fab423d2230a44c46d9eda0b31aa3a856fa98 Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
* | | | | | | | | Merge "msm: mdss: Correct video interface setup for AVR feature"Linux Build Service Account2017-02-08
|\ \ \ \ \ \ \ \ \