The IFPC feature saves power between frames.
Enable it on Adreno 640 v2 GPUs because it is now
supported.
Change-Id: Ie770eabc0aef295ede68d01650bed908f6ddc052
Signed-off-by: Kyle Piefer <kpiefer@codeaurora.org>
When DP node is disabled in the DT file, dp driver is returning
incorrect number of displays connected
Change-Id: I94655ee40cb3785f8186f0eef5f88d3ec4020b09
Signed-off-by: Sankeerth Billakanti <sbillaka@codeaurora.org>
Add a check to make sure device actually transitioned to SUSPEND
state before halting dispatcher. kgsl_pwrctrl_change_state(device,
KGSL_STATE_SUSPEND) can return zero without actually changing
state to SUSPEND if device state is NONE or INIT.
Change-Id: I4a5a69007c71651ea2cf7fa7360c960c6856031e
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
* quic/dev/msm-4.14-display:
ARM: dts: msm: Add a new display panel support for SDM710 QRD
ARM: dts: msm: update default topology for simulator cmd mode
drm/msm/dsi-staging: add software simulation states to esd check mode
drm/msm/sde: avoid secure-camera/secure-ui concurrency with other displays
drm/msm/sde: avoid lock while dumping fence status
drm/msm/sde: program color fill in planes in failure at commit stage
drm/msm/sde: Fix 32-bit compilation issues
drm/msm/sde: print debugfs input for command transfer
drm/msm/dsi-staging: add logs for debugfs nodes
drm/msm/sde: prevent clearing multirect flags during validate failure
drm/msm/sde: Increase command mode idle timeout in early wake-up
drm/msm/sde: Use kthread API to initialize idle delay work
drm/msm/sde: ensure qsync settings are properly flushed
msm: sde: avoid segmentation of dma_buf mappings
drm/msm/sde: set the qsync/avr mode during encoder enable
Change-Id: I21cbd969c96f19818af12c392d23e6b7f0e91256
Signed-off-by: Namratha Siddappa <namratha@codeaurora.org>
Use the struct firmware structure for storing the GMU firmware image.
Parse the firmware until out of data rather than reading the number
of blocks present in the firmware.
Change-Id: I6d8aef7a088f26be7fd6f092eedbbe021bf76f77
Signed-off-by: Carter Cooper <ccooper@codeaurora.org>
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
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>
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>
We missed updating index for internal IBs like setstate
or power-on fixup.
The index value was never updated after that, so all the
IBs after that index were never parsed, and are missing
from the snapshot.
Change-Id: I61db75f33630db322fe5ee1adce9f120987d32ee
Signed-off-by: Sunil Khatri <sunilkh@codeaurora.org>
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>
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>
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>
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>
Print command requested for transfer to panel from
debugfs node.
Change-Id: I7f33d7554ebd725a5e735245116c4028ef551aa5
Signed-off-by: Shashank Babu Chinta Venkata <sbchin@codeaurora.org>
* 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>
* quic/dev/msm-4.14-display:
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/sde: add sde_hw_ctl ops for peripheral flush
drm/msm: extract compression ratio and widebus mode from connector
drm/msm/sde: decouple sde_fence_context from sde_connector
drm/msm/dsi-staging: avoid ulps entry while esd recovery is pending
drm/msm/dp: fix timeslot programming error for mst streams
drm/msm/sde: Add debugfs support for fence info dump
drm/msm/dsi-staging: add null check for user length
msm/drm/sde: handle dynamic mode switch issue
drm/msm/dsi-staging: alter length to avoid stepping out of bounds
drm/msm/dsi-staging: fix potential out of bounds memory accesses
drm/msm/dsi-staging: skip DCS command tx during recovery
drm/msm/dsi-staging: add qsync/avr support in dsi controller
drm/msm/dsi-staging: Allocate correct size of memory
drm/msm/dp: fix error checking for memory allocations
drm/msm/sde: reconstruct the connector info for sde_crtc_state
drm/msm/dp: add ch alloc/dealloc for mst simulator panel
drm/msm/sde: move UBWC error logging to frame event callback
msm/sde/rotator: Add rev checks for sm6150
drm/msm/sde: Add rev checks for sm6150 target
drm/msm/dp: disable back-pressure before starting stream
drm/msm/dsi-staging: tie up dsi irq control to core clock
drm/msm/dp: reset post_open flag on cable disconnect
drm/msm/dp: Add gpio hpd support for DP
drm/msm/dp: update stream on sequence in mst mode
drm/msm/sde: update CWB detection logic
drm/msm/sde: remove thread flush request for same thread
drm/msm: update msg log level for edid cea ext check
drm/msm/sde: fix pp_4 and pp_5 done irq register enable
drm/msm/dp: fix handling interleaved hotplug events
dmr/msm/sde: propagate correct fence_event to sde_fence_signal
drm/msm/sde: decrement pending_retire_fence_cnt on timeout
clk: qcom: add common clock framework support for 14nm DSI PHY
drm: msm: sde: Add support for Qseed3Lite
drm/msm/sde: update qsync calculation for command mode display
drm/msm/sde: add pending retire fence count to event logs
Change-Id: Ic9cbee831e4d0707bbaf0417b32f37f184c8fcac
Signed-off-by: Namratha Siddappa <namratha@codeaurora.org>
* 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