summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | | | | | Merge "msm: mdss: Remove backlight min level checks during backlight scaling"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: Remove backlight min level checks during backlight scalingBenet Clark2016-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is currently a check to prevent backlight scaling when the backlight level is below the minimum level. This min level and scale are both sent by userspace. There should be no check in driver comparing backlight to min level when doing scaling. That check will be done in user mode. The driver should have the flexibility to do scaling in all scenarios. CRs-Fixed: 1090387 Change-Id: I6b036db5169c89091ca452c68d6773d9df6d5e06 Signed-off-by: Benet Clark <benetc@codeaurora.org>
* | | | | | | | | | | Merge "mdss: display-port: fix MSA settings for 5.4 Ghz link rate"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | mdss: display-port: fix MSA settings for 5.4 Ghz link rateChandan Uddaraju2016-11-18
| | |/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The NVID settings for 5.4 Ghz link rate doesn't need the multiplying factor since this is handled in the pll dividers. Add changes to remove the multiplying factor in controller driver. Change-Id: I695c08323e0e6ea30d6fdafc0eecaa4c8e04aaa5 Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: fix intf_num in irq enable/disable for CWB"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: fix intf_num in irq enable/disable for CWBVeera Sundaram Sankaran2016-11-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a mismatch in the interface num being passed for enabling/disabling the CWB_OVERFLOW IRQ during concurrent writeback(CWB). Fix it to use the same intf_num for both cases. Change-Id: Ic4b7599ac7a06583d745630ee10d3c77d40ac526 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
| * | | | | | | | | | | msm: mdss: add missing sync fence install for CWB casesVeera Sundaram Sankaran2016-11-21
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the missing sync fence install call after creating the fences, during Concurrent Writeback(CWB) cases. Change-Id: Id995088bfc53995c5d9453e7cee30ff549e8d39f Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: Fix potential deferencing of null pointer"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: Fix potential deferencing of null pointerNaseer Ahmed2016-11-09
| | |_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While servicing display post processing ioctl for calib data the driver checks if the calibration addr is valid. During this check it deferences the base address for all pipes without checking if the pipe pointer is NULL. This fix adds this check. CRs-Fixed: 1082568 Change-Id: Id8164e3e9a6e5178d14dfce60eccbdb3f7a1b253 Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: hdmi: fix potential null deference errors"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|/ / / / / / | |/| | | | | | | | |
| * | | | | | | | | | msm: mdss: hdmi: fix potential null deference errorsNaseer Ahmed2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix errors in HDMI and HDCP 2.2 driver code that are related to potential null pointer deferencing and use of uninitialized variables. CRs-Fixed: 1026671 Change-Id: Iecf3d1fe5d5268f043617b3fa920fa97bd05f046 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org> Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
| * | | | | | | | | | msm: mdss: Handle backlight level 0 at bootupRaviteja Tamatam2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current implementation does not allow backlight value of zero to be applied at update backlight function called at commit. unset_bl_level variable uses 0 value for comparision to exit at update backlight function and hence cannot be used to set zero level. This variable is now changed to use uint32 max value other than zero value for comparision to take early exit. Change-Id: If257fefed14455624edf6daaee933712df545117 Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
| * | | | | | | | | | msm: mdss: fix possible overflow errors in panel_debug_base_reg_readPatrick Auchter2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The panel_reg_buf is a dynamically allocated buffer of size reg_buf_len so checking sizeof(panel_reg_buf) is incorrect. Using scnprintf will ensure that len is at most reg_buf_len - 1 after all the prints. This allows sanity checks to be removed which were incorrectly skipping clock disable, resulting in an extra clock reference count. Change-Id: Ic3bb685c7b83eefef7bc207ad93d6a2a9e36fd33 Signed-off-by: Patrick Auchter <auchter@motorola.com> Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org> (cherry picked from commit 89bede0751357bc24701b8ebfe326d3e6bb46683)
| * | | | | | | | | | msm: mdss: Fix pp resume failureSravan Kumar D.V.N2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ensure that mixer object is present before calling pp resume. Change-Id: I18145fb89d33334dc9427ff1c2c4d85a957d6914 Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
| * | | | | | | | | | msm: mdss: hdmi: set the output format to RGB888Tatenda Chipeperekwa2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the HDMI panel's output format to RGB888 when the panel is registered during probe time. This is the default configuration for HDMI panels until there is a request from the framework to change the output after connecting to a sink that supports an alternative format e.g. YUV420. CRs-Fixed: 1008555 Change-Id: Ic7c68c0025231208215c02e406044857eb2ebe04 Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
| * | | | | | | | | | msm: mdss: fix NULL pointer dereferencing in DBA driverSandeep Panda2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In DBA driver, after complete raw EDID data is parsed, the start address to audio block in EDID and its size is stored in corresponding bridge chip local variable, using a API implemented by the bridge chip driver. If the bridge chip driver does not implement the API to set audio block, then it will lead to crash if DBA driver tries to use the API. So fix the issue by checking for NULL pointer before calling the concerned API. Change-Id: Ia65e7a6dccadbd3fa4a8a8e779ff1f08bf34b5af Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
| * | | | | | | | | | msm: mdss: fix wrong chroma stride for h2v1/h1v2 formatsIngrid Gallardo2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current driver is swapping the chroma subsample for the read pipe when rotation is in place, this configuration is already taken care by the rotator, and it is not needed to swap the chroma sampling for the rotator pipes. This fixes wrong stride calculations, causing wrong colors shown in h2v1/h1v2 tests. Change-Id: I43a841d6030636f71f271cc21f8177b44b2c0ca3 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
| * | | | | | | | | | msm: mdss: handle DSI error interrupts during dynamic fpsPadmanabhan Komanduru2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During dynamic fps using PLL approach, it is expected that DSI FIFO underflow and DSI PLL unlock can happen sometimes. Make sure to mask these errors so that DSI error interrupt is not generated because of this. Clear the errors once dynamic refresh operation is done and unmask these errors later. Change-Id: I05ccbb7af1588b9ed81fd33ac14ef5b29882a42d Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
| * | | | | | | | | | msm: mdss: hdmi: Send audio notify only in HDMI modeKrishna Srinivas2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check if mode is not DVI before giving audio notifications. Change-Id: I1dfc6a77961a24fd4ebeefc10cfc03c9e264be03 Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org>
| * | | | | | | | | | msm: mdss: hdmi: disable 5v line for HDMI suspend stateKrishna Srinivas2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To optimize power in suspend state, disable 5v line when HPD is not needed. Change-Id: Ie8caca7161b95a517d94ff418ae1a36461d85181 Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org>
| * | | | | | | | | | msm: mdss: Add null check for dma buffer memoryShalini Krishnamoorthi2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dma buffer is checked only for error and not null. Changes are added to check if the buffer is null to prevent accessing invalid MUTEX lock or invalid dma buffer memory. CRs-Fixed: 1032180 Change-Id: Ia1ed1238b084d04eb787d078f7bb47a4e2a62a8a Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
| * | | | | | | | | | msm: mdss: Fix potential NULL pointer dereferencesKrishna Chaitanya Devarakonda2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing potential NULL pointer dereferences in MDSS driver. Change-Id: I1d8013f4b9079bfd3e142326d92ec4e6bb90c147 Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
| * | | | | | | | | | msm: mdss: update csc table on cdm block based on configurationKrishna Srinivas2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update csc type table on cdm block based on configuration from kernel client. Add proper validation checks in wfd interface before updating the csc table to valid selection. Change-Id: Id3a0f68c30919029df01e003a1bcb39ff894574c Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org>
| * | | | | | | | | | msm: mdp: reserve cdm block only for output yuv formatDhaval Patel2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WB and HDMI interface reserves the CDM block on start irrespective of output format selection. This blocks other interface open operation. CDM block is only needed for output yuv format to downsample the chroma. This change starts allocating cdm block on each kickoff for writeback interface. It allocates cdm block only for yuv format for hdmi interface. Change-Id: I4368d1b5c4453c6c4697c060c880833c5ddc17bb Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org>
| * | | | | | | | | | mdss: mdp: add event timer for auto refreshDhaval Patel2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Display hardware keep generating the vsync isr during auto refresh mode without any kickoff. These vsync events may arrive late due to cpu latency and cause corruption on screen. This change enables the cpu event timer at vsync timeline to absorbs the software latency in auto refresh usecase. Conflicts: drivers/video/fbdev/msm/mdss_mdp.h drivers/video/fbdev/msm/mdss_mdp_ctl.c drivers/video/fbdev/msm/mdss_mdp.h Change-Id: I24c5180f685be251d1a5f3b393be8ec9b46e21eb Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org> [hsahu@codeaurora.org: Resolved conflicts] Signed-off-by: Harsh Sahu <hsahu@codeaurora.org>
| * | | | | | | | | | msm: mdss: turn off the phy during idle pc only if panel supportsDhaval Patel2016-11-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit ff19fe24e621ae5dc90f7e45fe4cfe159a647d15 ("mdss: dsi: turn off phy power supply during static screen") turns off the dsi phy during idle pc for phy rev 2.0. DSI lanes are in floating state after dsi phy power off and all panels may not be able to handle it. This change allows to turn on the feature based on panel capability. Change-Id: I9b166df254128a8a53c567f88971779b9ad0f36c Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: Fix disabling destination scalar using 4K panel"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: Fix disabling destination scalar using 4K panelBenjamin Chan2016-11-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4K panel uses split control path setup, so there is no need to correct the panel width when updating the mixer width resolution during destination scalar disabling. CRs-Fixed: 1093549 Change-Id: I064987534124e025abaccec05ab70acf93538bce Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: fix some potential issues in HDMI driver"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | msm: mdss: fix some potential issues in HDMI driverRay Zhang2016-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some potential issues in HDMI driver such as suspicious dereference of NULL pointer and variable reference without initialization. CRs-Fixed: 1091211 Change-Id: I81a99bcc4201ccd72de1f812e9c4da36d6a81958 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
* | | | | | | | | | | | | Merge "msm: mdss: add support to change HDMI PLL PPM"Linux Build Service Account2016-11-28
|\| | | | | | | | | | | |
| * | | | | | | | | | | | msm: mdss: add support to change HDMI PLL PPMRay Zhang2016-11-27
| | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sysfs and ioctl to adjust HDMI clock rate by certain PPM. This function is required by clock recovery in broadcast in which HDMI PLL should be adjusted in order to reduce the clock drift in broadcast. CRs-Fixed: 1086894 Change-Id: I1df15dd6aec44ae3e78bd4f80dc70d0d04760687 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: add atraces to track switch cmd delays"Linux Build Service Account2016-11-28
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | msm: mdss: add atraces to track switch cmd delaysVeera Sundaram Sankaran2016-10-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add atraces to track the switch commands executed during dynamic resolution switch or dynamic cmd/video mode switch. This information would be helpful in isolating the panel dependent switch cmds delays from the actual time needed by MDSS driver to execute the switch. Change-Id: Id9ac196fcdc61e95b5191103a1ea7974978b3a93 Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: fix to handle multi-rect configuration in error cases"Linux Build Service Account2016-11-25
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | msm: mdss: fix to handle multi-rect configuration in error casesIngrid Gallardo2016-11-22
| | |_|_|_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of an error when configuring a pipe during kickoff, driver unstages from HW the pipe that had the error, so it makes sure this dirty pipe is not used by HW. This is a problem if the pipe is configured in multi-rect mode and we only fail one of the two multi-rect pipes since in this case HW is expecting both multi-rect pipes that represent the two HW rectangles and we are only configuring one due the error that happened. Fix this problem by making sure that if the configuration of one multi-rect fail, we unstage both multi-rect pipes. Change-Id: I09fbda8eb92c81acf24d0ff07ca9c040141680e1 Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | | | | | Merge "msm: mdss: refine the calculation of tmds clock rate"Linux Build Service Account2016-11-25
|\ \ \ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | msm: mdss: refine the calculation of tmds clock rateRay Zhang2016-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TMDS clock rate should be concerned in case of deep color and scrambler. In deep color case TMDS clock should be increased in order to transmit more bits, so this clock rate should be checked against the maximum clock rate allowed by sink. In scrambler case correct pixel clock should be computed depending on video format and deep color. CRs-Fixed: 1086894 Change-Id: I78770eea7fdd57f12d92ff40ed8043987e742024 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
| * | | | | | | | | | | msm: mdss: update vic info when powering on HDMIRay Zhang2016-11-16
| | |_|_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HDMI vic info should be updated as well when powering on HDMI TX, otherwise the obsolete vic info is set to hardware. CRs-Fixed: 1086894 Change-Id: Ia3ea67cc7658098928a442460198b2dccc8ff8e1 Signed-off-by: Ray Zhang <rayz@codeaurora.org>
* | | | | | | | | | | msm: 8998: Replace cobalt with 8998Runmin Wang2016-11-22
| |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the code name from msmcobalt to msm8998. As a result, update the filename containing "cobalt" and files content containing "cobalt". CRs-Fixed: 1070840 Change-Id: I2c7b95e3e2a2fec7730724da9eeb86a39a77faf1 Signed-off-by: Runmin Wang <runminw@codeaurora.org> Signed-off-by: Kyle Yan <kyan@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: move warnings and errors out of mdss spinlock"Linux Build Service Account2016-11-18
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: move warnings and errors out of mdss spinlockIngrid Gallardo2016-11-08
| | |_|_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current display driver prints warnings and errors within the mdss spinlock. This causes in random cases to hold the spinlock for long time when multiple errors are printed; Fix this by moving the print of warning and error messages outside of the spinlock. Change-Id: I09359b528b4742f72a76690930f3d0ed90bb2caa Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: fix pp timeout during transition from LP1 to power on"Linux Build Service Account2016-11-18
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: fix pp timeout during transition from LP1 to power onIngrid Gallardo2016-10-17
| | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Skip "ctl setup" during LP1 to Display ON transition, since this causes ping pong timeout due incorrect SW programming; issue happens under following two conditions: 1. When the PP done is not received for the previous frame, reprogramming the non-double buffered registers to default value will cause MDP hang. 2. When last frame before LP1 state was partial update, then we exit LP1 mode, the next frame is also partial update then user-space and kernel do not change the SSPP registers which remain for the partial update frame. However due the "ctl setup", the mixer alone changes to full frame, causing the next frame to hang. This change address both scenarios described above. Change-Id: I031ca48f0e0c39f1b2cb51081ecd55b086fb4c9b Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | | | Merge "msm: mdss: fix autorefresh disable during handoff"Linux Build Service Account2016-11-18
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | msm: mdss: fix autorefresh disable during handoffIngrid Gallardo2016-10-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To disable autorefresh feature, driver needs to make sure that no transaction is on-going before disable. This change enforce that the sequence to disable autorefresh is followed during the handoff to kernel. Change-Id: I9aa7a000e75b50c6b26970deaba2131c87087b8c Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: hide additional kernel addresses from unprivileged users"Linux Build Service Account2016-11-18
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: hide additional kernel addresses from unprivileged usersHarsh Sahu2016-11-16
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting commit Ie49eee9478f4657cfb2a994ba60da1ec4c356339 ("msm: mdss: hide kernel addresses from unprevileged users"), display driver removes the %p and uses %pK instead for printing kernel pointers. This change missed some of the prints in some places. This change fixes this by modifying the remaining pointer prints. CRs-Fixed: 987021 Change-Id: I0d1797a4df9ff67f3b162a1b5d26320ca989f54a Signed-off-by: Harsh Sahu <hsahu@codeaurora.org> Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
* | | | | | | | | | | Merge "msm: mdss: Add systrace for readptr_done"Linux Build Service Account2016-11-18
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | msm: mdss: Add systrace for readptr_doneRajesh Yadav2016-11-08
| | |_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add systrace for readptr_done interrupt for cmd mode panel. Change-Id: I3694952289c76394af8d40cd89fd2175f49ac127 Signed-off-by: Rajesh Yadav <ryadav@codeaurora.org>