40120 Commits

Author SHA1 Message Date
Linux Build Service Account
f2912d4570 Merge "drm/msm/sde: add property to select dpu smmu mapping based on hw version" into dev/msm-4.14-display 2018-08-13 11:36:22 -07:00
Linux Build Service Account
75bc4c8f53 Merge "drm/msm/dsi-staging: fix mem leak issue in ESD debugfs" into dev/msm-4.14-display 2018-08-13 11:18:27 -07:00
Linux Build Service Account
b272439e87 Merge "drm/msm/hdcp2.2: return proper error code on aux failures" into dev/msm-4.14-display 2018-08-13 11:18:23 -07:00
Linux Build Service Account
5466f30fde Merge "drm/msm/dsi-staging: set correct flags for MAX_RETURN_PACKET command" into dev/msm-4.14-display 2018-08-13 11:18:18 -07:00
Linux Build Service Account
5db645e860 Merge "drm/msm/sde: use vsync source information from interfaces" into dev/msm-4.14-display 2018-08-13 11:18:11 -07:00
Linux Build Service Account
dd9acb7d10 Merge "drm/msm/sde: increase ahb bus vote on first frame" into dev/msm-4.14-display 2018-08-09 13:14:44 -07:00
Linux Build Service Account
69a9e5c94c Merge "drm/msm/sde: add traces to track display kickoff" into dev/msm-4.14-display 2018-08-09 13:14:35 -07:00
Linux Build Service Account
04b45a660a Merge "drm/msm/sde: handle pm_resume commit correctly" into dev/msm-4.14-display 2018-08-09 13:14:33 -07:00
Linux Build Service Account
2293c40404 Merge "drm/msm/dsi-staging: handoff backlight level for cont splash" into dev/msm-4.14-display 2018-08-09 13:03:34 -07:00
Linux Build Service Account
499595c6ee Merge "drm/msm: handle link failure in hdcp" into dev/msm-4.14-display 2018-08-09 13:03:25 -07:00
Narendra Muppalla
093f9b18d9 drm/msm/sde: add property to select dpu smmu mapping based on hw version
This change adds device tree property to select the display smmu mapping
range based on the HW revision. If property present, display will select
the full range 4GB, whereas if property not present, mapping will be
limited to the upper 2GB space only.

Change-Id: I3c8173e56a97ab16fcad47b9e706f69f8b45e2ce
Signed-off-by: Narendra Muppalla <NarendraM@codeaurora.org>
2018-08-08 11:43:04 -07:00
Ajay Singh Parmar
865fef2601 drm/msm/hdcp2.2: return proper error code on aux failures
In case of aux read/write failures during hdcp message exchange
between source and sink, return with error so that hdcp state
machine can take corrective action.

CRs-Fixed: 2292768
Change-Id: I5df7a8d77796784b48c09436004aa7ec93a51283
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2018-08-07 22:36:47 -07:00
Ajay Singh Parmar
a44959e4e2 drm/msm/sde: use vsync source information from interfaces
Currently TE/Vsync source information is provided by SDE driver.
As TE comes from panel, it should be provided by the panel to
avoid any mismatch.

CRs-Fixed: 2254681
Change-Id: Ib906cd85cfa954cec211b4cc36fb6f524a78af02
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2018-08-07 22:33:06 -07:00
Linux Build Service Account
a949307d84 Merge changes Id28f8025,Idccaa794,I4c92f3cf into dev/msm-4.14-display
* changes:
  drm/msm/sde: Fix 32-bit compilation issues
  drm/msm/sde: prevent clearing multirect flags during validate failure
  drm/msm/sde: Increase command mode idle timeout in early wake-up
2018-08-06 11:44:18 -07:00
Linux Build Service Account
06e40f512f Merge "drm/msm/dsi-staging: add software simulation states to esd check mode" into dev/msm-4.14-display 2018-08-06 11:44:16 -07:00
Linux Build Service Account
b2b2ac7129 Merge "drm/msm/sde: avoid lock while dumping fence status" into dev/msm-4.14-display 2018-08-06 11:44:13 -07:00
Linux Build Service Account
ce026cfcd5 Merge "drm/msm/sde: avoid secure-camera/secure-ui concurrency with other displays" into dev/msm-4.14-display 2018-08-06 11:44:03 -07:00
Abhijit Kulkarni
21d8ba6abc drm/msm/sde: handle pm_resume commit correctly
PM_suspend/resume functionality needs atomic state to be saved during
suspend and needs to be reapplied at resume time. But the state saved
during suspend is partially invalid, so we need to fix it before commit.
Use helper function fom the framework to take care of this.

Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Change-Id: I83471c95114c5852d252c866fc4c21aaf4044893
2018-08-03 15:15:45 -07:00
Amine Najahi
e9805228db drm/msm/sde: add traces to track display kickoff
Add traces to help diagnose performance issues in
display pipeline

Change-Id: I9bfd067c1d986df5b2a8b9eb5ab2c4969d182aec
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
2018-08-02 15:23:22 -04:00
Linux Build Service Account
47ec6b636b Merge "drm/msm/sde: print debugfs input for command transfer" into dev/msm-4.14-display 2018-08-01 22:04:29 -07:00
Linux Build Service Account
7709d0a770 Merge "drm/msm/sde: program color fill in planes in failure at commit stage" into dev/msm-4.14-display 2018-08-01 22:04:19 -07:00
Linux Build Service Account
5290ac6f2a Merge "drm/msm/dsi-staging: add logs for debugfs nodes" into dev/msm-4.14-display 2018-08-01 22:04:18 -07:00
Shashank Babu Chinta Venkata
8dc69c932a drm/msm/dsi-staging: add software simulation states to esd check mode
Add software simulate success/failure modes to debugfs node
esd_check_mode while reading current mode.

Change-Id: I7534083c87855cd248d141788f20cdcf3ef8dc78
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2018-08-01 15:54:35 -07:00
Veera Sundaram Sankaran
4a5ab2fd23 drm/msm/sde: avoid secure-camera/secure-ui concurrency with other displays
Add checks to fail secure-camera/secure-ui updates on
other displays. Fail updates on primary with
secure-camera/secure-ui layers when other display
session is in-progress. This would avoid all the
concurrency during secure updates.

Change-Id: I7cba4d41e3a0c719e18e27689e48d58c16336fa9
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2018-08-01 10:52:03 -07:00
Sandeep Panda
5e562d5c5a drm/msm/dsi-staging: fix mem leak issue in ESD debugfs
There is a potential memory leak in ESD debugfs implementation,
in case if panel ESD trigger fails. This change fixes the same.

Change-Id: I6a136aad71aa5561709d539afc13d6591bc50d1f
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2018-08-01 07:31:29 -07:00
Sandeep Panda
363b8ffec2 drm/msm/dsi-staging: set correct flags for MAX_RETURN_PACKET command
This change sets correct flags for MAX_RETURN_PACKET dcs command
transmission.

Change-Id: I24a178d964d128e98b0f57a70e8f7bd5d7b6ab81
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2018-08-01 06:17:50 -07:00
Kalyan Thota
88bf65ae3c drm/msm/sde: avoid lock while dumping fence status
while crtc_commit is in progress last_close can be triggered
which accquires mode config locks, hence avoid using lock while
dumping the fence status on connector when lock is already taken.

Change-Id: I4e2032a65b3483dd276a2c82f339016fc2f3a93f
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
Signed-off-by: Shubhashree Dhar <dhar@codeaurora.org>
2018-08-01 12:32:06 +05:30
Aravind Venkateswaran
15e83efb7d drm/msm/dsi-staging: handoff backlight level for cont splash
When continuous splash screen feature is enabled, the display panel
is left on from the bootloader. As part of the transition to kernel,
the backlight level also needs to be handed off. Otherwise, it is
possible that the kernel can inadvertently set the backlight level
to zero and result in what appears like a black screen during
the transition from splash screen to boot animation. Add this support to
read the current backlight level for WLED backlight type and set it
during handoff. For other backlight types, set it to a default
value.

CRs-Fixed: 2248169
Change-Id: Ic003a1432eefbf8b9a34457440f995bbe29f5c9b
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2018-07-31 17:34:40 -07:00
Ajay Singh Parmar
6eab8e682b drm/msm: handle link failure in hdcp
In case sink issues a link failure or re-authentication request,
tear down the session and re-authenticate to avoid going into
dormant state.

CRs-Fixed: 2292768
Change-Id: I2400188d55ddebcf4dc628412d5832290cfb82c8
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2018-07-31 15:45:58 -07:00
Linux Build Service Account
9327317f43 Merge "drm/msm/sde: Use kthread API to initialize idle delay work" into dev/msm-4.14-display 2018-07-31 15:22:38 -07:00
Linux Build Service Account
6c6d4b2469 Merge "drm/msm/sde: ensure qsync settings are properly flushed" into dev/msm-4.14-display 2018-07-31 15:22:36 -07:00
Linux Build Service Account
ef44336969 Merge "drm/msm/sde: set the qsync/avr mode during encoder enable" into dev/msm-4.14-display 2018-07-31 15:22:25 -07:00
Raviteja Tamatam
fcdad7a616 drm/msm/sde: program color fill in planes in failure at commit stage
During secure transition, failure in _sde_plane_set_scanout at
atomic commit stage can lead to unsecure buffer address being
programmed to secure pipe and lead to stage 2 smmu faults.
These failure cases are taken care by inducing solid fill color
on such planes.

Change-Id: I3ba19b040b5a71b7d7f3629de650037f6027b656
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2018-07-31 06:02:07 -07:00
Jayant Shekhar
0a3bfd672b drm/msm/sde: Fix 32-bit compilation issues
Fix 32 bit compilation issues in display DRM driver.

1) Fix issues of casting integer to pointer of incompatible type.
   (Used uintptr_t and u64_to_userptr)

2) Fix stack frame overflow in DP driver.
   (Reduce size of variables allocated on stack)

3) Fix Incorrect type used for printing size_t and unsigned long

4) Fix issues with mult_frac and roundup macro due to u64 division.

5) Rework histogram data in PP driver to fix stack frame overflow

Change-Id: Id28f8025f0d2ac49ef3ce3f4a9ba11dff03da0ea
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Ch Ganesh Kumar <chganesh@codeaurora.org>
Signed-off-by: Shubhashree Dhar <dhar@codeaurora.org>
2018-07-31 11:17:58 +05:30
Shashank Babu Chinta Venkata
a130990bf3 drm/msm/sde: print debugfs input for command transfer
Print command requested for transfer to panel from
debugfs node.

Change-Id: I7f33d7554ebd725a5e735245116c4028ef551aa5
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2018-07-30 16:17:57 -07:00
Shashank Babu Chinta Venkata
f92cc23378 drm/msm/dsi-staging: add logs for debugfs nodes
Add pr_info logs for user altered/triggered ESD events.

Change-Id: Idcc260ccde59a29e7c9a88e5af9f9f9f79e5c99d
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
2018-07-30 16:17:37 -07:00
Namratha Siddappa
ce74f975cb Merge commit 'AU287' into dev/msm-4.14-display
* commit '6f808a5':
  Revert "ARM: dts: msm: enable dma-coherent attribute for UFS on SM8150"
  ARM: dts: msm: Reduce cycles between ESR pulses on SM8150 MTP
  power: qpnp-fg-gen4: Reduce ESR fast calibration time to 50s
  net: core: neighbour: Change the print format for addresses
  defconfig: sm6150: Enable clock controller drivers for SM6150
  ARM: dts: msm: Add icnss node on SM6150
  ARM: dts: msm: Update regulator handles for VDD_CX/VDD_MX for SM6150
  ARM: dts: msm: Update the clock_dispcc node on SM6150
  clk: qcom: Add display clock driver for SM6150
  ARM: dts: msm: Update the clock_camcc node on SM6150
  ARM: dts: msm: Add dtsi entries of USB for SM6150
  power: qpnp-qg: Add handling for SYS_SOC
  clk: qcom: camcc: Add support for 12MHz for mclk
  msm: vidc: skip sending old resolution buffers
  icnss: print return value for modem_shutdown_msg
  ARM: dts: msm: enable IP HW CH by default and disable for sm8150-sdx50
  soc: eud: Fix event handling for input suspend/unsuspend
  msm: kgsl: Add support for PDC register subsections
  net: cnss2: Add snapshot of CNSS2 driver
  power: smb1355: Fix multiple I2C addr issue
  phy: qcom-ufs: Update UFS PHY calibration sequence
  ARM: dts: msm: limit number of fastrpc sessions on SLPI for 8150
  sched/fair: fix issue with max_capacity
  ARM: dts: msm: reconfigure sdx50 memory access based on AC policy
  msm: adsprpc: disable bind/unbind of fastrpc driver from userspace
  rpmsg: glink: spi: Fix use after free of channel refcount
  rpmsg: glink: spi: Set tail pointer to 0 at end of FIFO
  mhi: controller: qcom: add support for sdxprairie device
  mhi: controller: qcom: add sysfs control for mhi power
  wil6210: fix RX buffers release and unmap
  wil6210: prevent usage of tx ring 0 for eDMA
  wil6210: allocate rx reorder buffer only if rx reorder is enabled
  ARM: dts: msm: Associate address with clock controller nodes for SM6150
  clk: qcom: clk-cpu-qcs405: Add support for vdd_hf_pll regulator
  clk: qcom: Kconfig: Add support to select GDSC flag for SM6150
  ARM: dts: msm: Increase ADSP ion heap by 4 MB for qcs405
  soc: qcom: dccv2: fix the Linked_List default value
  ARM: dts: msm: enable ETR SG as default and DCC with LL1 on qcs405
  soc: qcom: rpm-smd-debug: Fix potential memory leaks
  ARM: dts: msm: add bluetooth chip device node for sa8155
  power: qpnp-qg: Update GOOD_OCV after clearing the old data
  power: qpnp-fg-gen4: Fix esr_delta bounding error
  sdcardfs: Fix the format prints in sdcardfs
  ARM: dts: update PCIe PHY base address for sm8150 v2
  net: qrtr: Add non blocking option for tx_resume
  net: qrtr: Send BYE message for all nodes on ept
  ARM: dts: msm: Add GPU configuration for sm8150-v2
  power: smb5: Set OTG mode current limit
  ARM: dts: msm: Add labels for TDM nodes
  pinctrl: qcom: Use correct offset for UFS_RESET_CTL register
  soc: qcom: use spinlock with irq save in CDSPRM module
  qcs405_defconfig: Enable the tzlog driver.
  defconfig: qcs405: Enable Qseecom driver
  ARM: dts: msm: Change DCC cur list for sm8150
  clk: qcom: clk-cpu-osm: Add OSM clock driver support for SM6150
  input: synaptics_dsx: Propagating security fixes from msm-4.9
  ARM: dts: qcom: Add sdhc1/sdhc2 for sm6150 mtp/cdp
  clk: qcom: Add camera clock driver for SM6150
  ARM: dts: msm: Disable vibrator overdrive for pm6150
  ARM: dts: msm: Add cdsp pil node for sdmmagpie
  mhi: controller: qcom: add debug mode parameter for debug control
  ARM: dts: msm: add mhi host support for sm8150 PCIe RC0
  cnss_prealloc: Remove excessive warnings in cnss_prealloc driver
  ARM: dts: msm: Move audio overlay device tree file on SM8150 target
  rmnet: fix tx rmnet stats to work with UL aggregation
  Revert "sched/sysctl: check for min/max values for sched_{up,down}_migrate knobs"
  icnss: Change QMI timeout to 10sec
  power: qpnp-qg: Update VBAT_LOW fifo_length handling
  sound: usb: use er_mapped flag to indicate event ring mapped or not
  lowmemorykiller: fix cma accounting
  clk: qcom: Remove write update to EMAC_MISC register
  ARM: dts: msm: Enable QoS programming for qcs405
  defconfig: Enable kernel low memory killer for sdmsteppe
  ARM: dts: msm: Add sleep clock for HS PHY on QCS405
  ARM: dts: msm: add PMIC devices for sdmmagpie
  defconfig: msm: Enable CXIP LM cooling device driver for SM6150
  drivers: thermal: Add support for CX IPeak LM cooling device
  socinfo: Add support for ADP platform
  ARM: dts: msm: disable L0s for PCIe0 and PCIe1 on sm8150
  rtc: Disable alarm irq if alarm time is in the past
  defconfig: qcs405: Enable smp2p sleep state for qcs405
  coresight: tpdm: Don't disable clk and regulator when enabled
  power: qpnp-qg: Update ESR estimation parameters
  power: qpnp-qg: Move GOOD_OCV irq handling to suspend/resume
  drivers: net: rmnet: Power collapse UL change
  iommu: ignore scm_call return if SMC_ID not supported
  iommu: arm-smmu: Preallocate memory for map operation
  iommu: arm-smmu: Move most memory allocations to GFP_KERNEL
  dma-mapping: fix build when !CONFIG_ARM_SMMU
  iommu: arm-smmu: Program TTBR1 to a zero page
  iommu: arm-smmu: fix KW issues
  iommu: iommu-debug: limit memory address exposure
  iommu: iommu-debug: cleanup iommu debug
  iommu: Remove config dependency
  ARM: dts: msm: Add ADC_TM thermal nodes on SM8150
  ARM: dts: msm: Enable ADC_TM on PM8150B
  thermal: adc_tm: Update channel assignments for PM8150B 1.0
  soc: qcom: Fix module cleanup error in dfc
  iio: adc: Update reading USB_IN_V channel
  power: smb5-lib: Fix low USB input current limit issue
  defconfig: Enable USB configfs and function drivers
  defconfig: arm64: Enable ICE based HW FBE on sa8155
  net: bridge: Fix merge error
  msm: gsi: gsi channel mode switch spinlock correction
  msm: npu: Add firmware debug mode support
  ARM: dts: msm: enable display rsc for sa8155
  msm: ipa4: Update IPA_CFG registers for IPA4.5
  ARM: dts: msm: Add Qseecom node and Qseecom heap for qcs405
  msm: kgsl: Add a check before requesting GPU keepalive
  ARM: dts: msm: Enable NTAG device node for QCS405
  defconfig: Enable CONFIG_CMA_DEBUGFS for sdmsteppe
  ARM: dts: msm: Optimize NPU TPDM clk config for sm8150
  msm: vidc: Use data corrupt flag instead of error flag
  perf: don't leave group_entry on sibling list (use-after-free)
  fs: ext4: disable support for fallocate FALLOC_FL_PUNCH_HOLE
  msm: adsprpc: validate remote parameters pointer
  msm: adsprpc: validate dma physical address after mapping
  iommu: arm-smmu: add tlbi traces
  iommu: arm-smmu: modify iommu_errata_tlbi trace events
  iommu: dma-mapping-fast: Add standard ftrace events
  iommu: Expand ftrace events
  iommu: dma-mapping-fast: Fix error code for dma_map_sg
  iommu: fix smmu_secure_pool access list after free issue
  iommu: arm-smmu: Add smmu init latency measurement
  iommu: iommu-debug: Fix duplicate iommu_attachment entries
  iommu: arm-smmu: Fix locking issue
  Revert "iommu/io-pgtable-arm: Unmap and free table when overwriting with block"
  ARM: dts: msm: Enable UFS support on sm6150 IDP platform
  ARM: dts: msm: Add address base for swr on qcs405
  ARM: dts: msm: Correct GPU iommu protection range for SM8150
  clk: qcom: debugcc-qcs405: Update CPU measure node
  msm: kgsl: Enable IO coherency for A640
  ARM: dts: msm: add PM6150 PD PHY device
  clk: qcom: Update freq plan and FMAX corners for few GCC clocks
  leds: qpnp-vibrator-ldo: disable vibrator in suspend path
  qseecom: check if app is blocked when unloading app
  hdcp_qseecom: updating error codes
  msm: vidc: extend AVC level query support upto 6.2
  msm: vidc: extend AVC level support upto 6.2
  ARM: dts: msm: enable smmu s1 in wlan CBs
  msm: vidc: Correct buffer counts for secondary output mode
  timers, sched/clock: Hook into s2idle freeze path
  smp: Wake up all idle CPUs when suspending to idle
  smp: Do not wake up all idle CPUs
  drivers: cpuidle: lpm-levels: Support s2idle
  drivers: cpuidle: lpm-levels: Remove hotplug checking
  msm: ipa: fix the ipa-hw rules not clean
  input: touchpanel: Add Synaptics latest version 2.7 touchpanel driver
  msm: vidc: correctly calculate core workload
  usb: core: Add support to handle multi config audio device
  msm: kgsl: Keep a list of perfcounters per file descriptor
  ARM: dts: msm: update cpu core frequencies for qcs405 target
  msm: kgsl: Fix typo in a6xx snapshot
  msm: kgsl: Fix reading lm_sequence in _execute_reg_sequence()
  ip: limit use of gso_size to udp
  ARM: dts: msm: enable dma-coherent attribute for UFS on SM8150
  drivers: thermal: bcl_pmic5: Incorporate thermometer encoding
  esoc: Check for modem status LOW prior to error handling

Change-Id: I86ff9d6fc5dd1dfe8e0ae29a10135f6b12034c01
Signed-off-by: Namratha Siddappa <namratha@codeaurora.org>
2018-07-30 16:06:09 -07:00
Linux Build Service Account
d5c5435323 Merge changes Id72d529e,I6ccd1a96,I125004c7,Icebe7fa2 into dev/msm-4.14-display
* changes:
  drm/msm/sde: deprecate force panel dead from connector
  drm/msm/dsi-staging: add software simulation of esd failure
  ARM: dts: msm: enable ulps for various displays on SM8150
  drm/msm/dsi-staging: avoid ulps entry while esd recovery is pending
2018-07-30 15:13:51 -07:00
Linux Build Service Account
f26e399584 Merge "drm/msm/sde: add sde_hw_ctl ops for peripheral flush" into dev/msm-4.14-display 2018-07-30 15:05:28 -07:00
Linux Build Service Account
a9afab716f Merge "drm/msm/sde: add pending retire fence count to event logs" into dev/msm-4.14-display 2018-07-30 15:05:15 -07:00
Linux Build Service Account
a42d6acd6e Merge "drm/msm/dp: fix timeslot programming error for mst streams" into dev/msm-4.14-display 2018-07-30 15:05:09 -07:00
Linux Build Service Account
a8aadbbd70 Merge "drm/msm: extract compression ratio and widebus mode from connector" into dev/msm-4.14-display 2018-07-30 15:05:04 -07:00
Linux Build Service Account
dba5a82b00 Merge "drm/msm/sde: decouple sde_fence_context from sde_connector" into dev/msm-4.14-display 2018-07-30 15:05:03 -07:00
Linux Build Service Account
6bb3730530 Merge "drm/msm/sde: move UBWC error logging to frame event callback" into dev/msm-4.14-display 2018-07-30 14:26:16 -07:00
Amine Najahi
3d67ea0a71 drm/msm/sde: increase ahb bus vote on first frame
Increase ahb bus vote on first frame after idle
pc because that will program the complete mdss
register space.

Change-Id: I360d43656f753c70acb51395a978998412354b64
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
2018-07-30 13:01:11 -04:00
Raviteja Tamatam
2944cd6b15 drm/msm/sde: prevent clearing multirect flags during validate failure
In corner case where crtc->planemask and atomic state->planes[]
do not match, driver clears the multirect_index/multirect_mode
in the plane->state during validate failure case. This can lead
to multirect_index/multirect_mode mismatch for next commits during
failure condition.

Change-Id: Idccaa79431469e185ca46c1e40b040427d02a96d
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
2018-07-30 13:07:34 +05:30
Jayant Shekhar
ad71dac9eb drm/msm/sde: Increase command mode idle timeout in early wake-up
Sometimes updates from framework comes with slight delay after
early wake up. In such case prevent clock switch off to avoid
frame miss or jank in next update. So, increase the command
mode idle timeout sufficiently to prevent such issue.

Change-Id: I4c92f3cfca5402ee9f6ee29beaf7a32506ac92c7
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2018-07-30 13:04:03 +05:30
Jayant Shekhar
521ae68c30 drm/msm/sde: Use kthread API to initialize idle delay work
Prevent initializing delayed work during variable refresh
rate trigger. Avoid setting kthread kernel struct variable
directly. Use kthread API instead.

Change-Id: Iac3865ead22fbb2278c4da2df144d353da279d99
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2018-07-28 07:01:54 +05:30
Steve Cohen
c003bd74d0 drm/msm/sde: ensure qsync settings are properly flushed
Ensure the correct block is flushed when QSYNC settings are
updated.  Depending on the HW version, the location of the
Tear Effect module, and the interface mode, either the layer
mixer or the interface must be flushed when QSYNC settings
are changed.

Change-Id: I89b654ec03cbb5df459918a1b9ab345fe5a756ea
Signed-off-by: Steve Cohen <cohens@codeaurora.org>
2018-07-27 19:00:55 -04:00
Linux Build Service Account
19f6ab6922 Merge "drm/msm/dp: Add gpio hpd support for DP" into dev/msm-4.14-display 2018-07-27 15:20:17 -07:00