Commit graph

591343 commits

Author SHA1 Message Date
Alan Kwong
372bdf1d8c drm/msm/sde: correct clamp shift for csc 10
Clamp shift for csc 10 is 16 bit where csc 8 is 8 bit.
Correct csc to apply proper clamp shift based on csc version.

Change-Id: I34d30127384668f4cb222a6e634e6581c0054805
Signed-off-by: Alan Kwong <akwong@codeaurora.org>
2017-06-27 14:07:24 -04:00
Dhaval Patel
04a9528cbb drm/msm/sde: fix color component order in sde
SDE drm driver should support the default color
component order instead of operating system
specific order. For opensource compositor; it will
use default color component order while android
compositors will take care of reversing the color
component order.

Change-Id: I61b953ce892834453e92a8c2cfdcb427456966bb
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2017-06-26 19:40:59 -07:00
abeykun
1ce0cb61aa drm/msm/sde: expose 10 bit pixel format capabilities
Patch adds RGB 10bit both linear and compressed, P010 linear and
and TP10 compressed pixel formats to plane and writeback capabilities.

Change-Id: Ib5a0b2dacbc1ddc47c069b4348c0d1b9fbd7701e
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 19:35:01 -07:00
Alexander Beykun
4482a89a67 drm/msm/sde: size check fix for NV12 buffer
Currently for NV12 linear/compressed format if the same gem
object assigned to both planes, total size becomes twice more
than actually allocated. In that case kernel cannot detect
case where meta data planes not allocated for NV12 compressed
buffer and smmu fault happens. Current patch sums sizes only
for different gem objects allowing kernel to detect insufficient
memory allocation for NV12 case.

Change-Id: I0d9f49b8b310f0dff1fb787b4ba821a6d4a68140
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:33:46 -07:00
abeykun
1f2fc9ec18 drm/msm/sde: move pixel format flags to bitmap
Patch changes type of pixel format flags from u32 to bitmap.

Change-Id: I117f3737d78d22b9bd6d78abdb8e96f52fc4e874
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:32:57 -07:00
abeykun
bedc84f4f8 drm/msm/sde: add tp10 compressed format support
Add MOD_QCOM_TIGHT modifier on top of DRM_FORMAT_NV12
base pixel format and update plane size calculation
to support compressed tp10 buffers.

Change-Id: I12eb9fecfd34d488eda92f6217b6ca51e466c6f6
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:31:54 -07:00
abeykun
be55dab201 drm/msm/sde: add p010 format support in sde
Add MOD_QCOM_DX modifier on top of DRM_FORMAT_NV12
base format and update plane size calculation to support
linear and compressed p010 buffers.

Change-Id: I93bd9557e5c4a4a038891f24730edbbec1dba262
Signed-off-by: Alexander Beykun <abeykun@codeaurora.org>
2017-06-26 17:29:59 -07:00
Linux Build Service Account
6f56b2a9c8 Merge "ath10k: Add change interface handler" 2017-06-23 12:09:25 -07:00
Linux Build Service Account
7e03e0f79a Merge "qpnp-smb2: configure DRP mode after interrupt request" 2017-06-23 12:09:24 -07:00
Linux Build Service Account
fb8f2806f6 Merge "arm/arm64: Export save_stack_trace_tsk()" 2017-06-23 12:09:23 -07:00
Linux Build Service Account
bbf9eb8202 Merge "ath10k: wait for vdev delete response from firmware" 2017-06-23 05:56:57 -07:00
Linux Build Service Account
2e04fffa4a Merge "sound: usb: Add quirk to issue SET_CUR volume on 2nd channel" 2017-06-23 05:56:56 -07:00
Linux Build Service Account
a2aa60c24e Merge "msm: mdss: dp: fix no display issue on second connection" 2017-06-23 05:56:55 -07:00
Linux Build Service Account
b85e238432 Merge "mdss: dp: check if sink device is connected before DP ON sequence" 2017-06-23 05:56:53 -07:00
Linux Build Service Account
9bda357a1a Merge "msm: sde: Remove output fence object after user request completed" 2017-06-23 05:56:41 -07:00
Linux Build Service Account
10bb4a94f1 Merge "msm: mdss: Change IOMMU map sequence during splash cleanup" 2017-06-23 05:56:40 -07:00
Linux Build Service Account
c2841e623b Merge "msm: sde: Convert workq to kernel thread in SDE rotator" 2017-06-23 05:56:39 -07:00
Linux Build Service Account
b52caad54d Merge "smb-lib: add support for float charger reporting" 2017-06-23 05:56:38 -07:00
Linux Build Service Account
088c0f837e Merge "power: power_supply_sysfs: Add support for Floating charger" 2017-06-23 05:56:38 -07:00
Linux Build Service Account
8e102f05a2 Merge "msm:ipa: Fix to kasan use-after-free issue" 2017-06-23 05:56:37 -07:00
Linux Build Service Account
e965ee5226 Merge "btfm: provide a way to query wcn3990 status" 2017-06-23 05:56:36 -07:00
Linux Build Service Account
e213493c43 Merge "scsi: ufs: Fix initialization of pointer" 2017-06-23 05:56:21 -07:00
Ashay Jaiswal
831a954709 qpnp-smb2: configure DRP mode after interrupt request
During hardware initialization charger is configured in
DRP mode from force UFP mode and after mode configuration
hardware takes ~300/400 msec for UFP/DFP detection. In case
if the delay between moving to DRP mode and software enabling
interrupts is more than hardware detection delay then software
will miss the detection interrupt. Fix this by moving DRP
configuration after interrupt request this ensures software will
receive interrupt once hardware detection completes.

CRs-Fixed: 2065296
Change-Id: I55c59ed558e8db40a7b1af7638832da1f9547222
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2017-06-23 15:09:34 +05:30
Linux Build Service Account
e5b8aadd07 Merge "drm: msm: add support for a custom hotplug event" 2017-06-22 23:41:17 -07:00
Linux Build Service Account
f8c31265f8 Merge "soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks" 2017-06-22 23:41:16 -07:00
Linux Build Service Account
3d7828b335 Merge "thermal: qpnp-adc-tm: Fix shutdown path for ADC_TM" 2017-06-22 23:41:15 -07:00
Linux Build Service Account
c9b4dc7067 Merge "Merge branch 'android-4.4@e76c0fa' into branch 'msm-4.4'" 2017-06-22 23:41:14 -07:00
Linux Build Service Account
a21b8a6a89 Merge "drm/msm: add PLL_ENABLE property to support clock recovery" 2017-06-22 23:41:10 -07:00
Linux Build Service Account
8f79480709 Merge "ath10k: Add interface combinations for wcn3990" 2017-06-22 23:41:09 -07:00
Linux Build Service Account
2277a4c12d Merge "ASoC: msm: qdsp6v2: Remove size checks when finding ADM cal" 2017-06-22 23:41:08 -07:00
Linux Build Service Account
50947ee8ec Merge "ARM: dts: msm: Update temperature threshold limits for EA for 8998/660/630" 2017-06-22 23:41:07 -07:00
Linux Build Service Account
93202f2f62 Merge "msm: vidc: Scale clocks with inst load during dcvs setup period" 2017-06-22 23:41:06 -07:00
Linux Build Service Account
cb75f7e5b7 Merge "qcom: scm: Remove inputs printing from scm_call2_atomic" 2017-06-22 23:41:05 -07:00
Linux Build Service Account
6c27d8d8b7 Merge "usb: core: Add support to handle multi config audio device" 2017-06-22 23:41:03 -07:00
Linux Build Service Account
c7572d54ad Merge "qseecom: use strnlen in qseecom_start_app" 2017-06-22 23:41:02 -07:00
Linux Build Service Account
dcfdefb70a Merge "power: qcom: qpnp-fg-gen3: add missing break in switch statement" 2017-06-22 23:41:01 -07:00
Linux Build Service Account
7ebaed16ad Merge "soc: qcom: glink: Move tx_info allocation in beginning" 2017-06-22 23:41:00 -07:00
Linux Build Service Account
9a7d7cda15 Merge "ARM: dts: msm: Remove HDMI hotplug feature for msm8996 ADP" 2017-06-22 23:40:59 -07:00
Linux Build Service Account
8b2a2a4d4f Merge "drm/msm: gracefully handle NULL return from setup_pagetable()" 2017-06-22 23:40:58 -07:00
Rakesh Pillai
1e56d55040 ath10k: Add change interface handler
Change interface handler is not registered with mac80211.
The change interface handler is needed to run p2p go/cli
on the same interface as p2p control interface.

Add change interface handler for ath10k.

CRs-Fixed: 2063870
Change-Id: Ia06850a938b9d5e89d970792e3f0a776693a5f25
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-06-22 23:11:00 -07:00
Rakesh Pillai
93692eab3a ath10k: wait for vdev delete response from firmware
When we add an interface immediately after removing
the interface the vdev deletion in firmware might not
have been completed. We need to synchronize the vdev creation
with the firmware.

Wait for vdev delete response from firmware when we
remove an interface.

CRs-Fixed: 2065345
Change-Id: Id045087b03d5c5e6451f79b9c1177aca26ed34a2
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
2017-06-22 23:10:49 -07:00
Ajay Agarwal
04282fcc79 sound: usb: Add quirk to issue SET_CUR volume on 2nd channel
Some audio devices with two channels require the host
to issue SET_CUR command on the Volume control on
both the channels in order to function (playback or
record). Currently, the Linux Host driver issues SET_CUR
only for the 1st channel. Hence, add the quirk for
concerned devices for SET_CUR on 2nd channel.

Change-Id: I6f0bbcdfd3a8b3ccb33a1d56c252c701849a442f
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
2017-06-23 10:45:22 +05:30
Ramakrishnan Ganesh
4fb87c366b soc: qcom: sleepstate: Enable/Disable IPCRTR wakelocks
The acquiring of wakelock prevents the system from entering
suspend for high frequency non-wakeup sensor requests. With
the change IPCRTR now does not acquire a wakelock while cpu
is out of suspend. This allows the cpu to enter suspend.
The wakelocks are enabled in the suspend path so that future
wakeup capable sensor events gets handled without issues.
The wakelocks are disabled post resume from suspend.
This change affects only the data on the SLPI edge.

Change-Id: Iae3dafb735bfb0d3000487f2fa2216d68e9a026f
Signed-off-by: Ramakrishnan Ganesh <ramakris@codeaurora.org>
2017-06-22 17:57:53 -07:00
Tatenda Chipeperekwa
0aedc43f0b drm: msm: add support for a custom hotplug event
Add support for a custom hotplug event that is triggered when the
status of the connector has changed. The event string of the
custom event will be in the following format:
	"name=<connector name> status=<connector status>"
For example, when the DisplayPort connector has its status
updated to connected then the event string that is used as part
of the hotplug event will be as follows:
	"name=DP-1 status=connected"
If the connector name is not known or is invalid at the time that
the event is triggered then the name will be reported as "unknown".

Change-Id: I5d6164d1e8e651cb05527733d68fa86fefb9e6ce
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
2017-06-22 17:11:45 -07:00
Linux Build Service Account
db478ca29d Merge "Revert "msm: kgsl: Offload mementry destroy work to separate thread"" 2017-06-22 14:00:22 -07:00
Linux Build Service Account
af39cfe11e Merge "sched: avoid migrating when softint on tgt cpu should be short" 2017-06-22 14:00:20 -07:00
Linux Build Service Account
47f3f67114 Merge "arm64: dma-mapping: fix aliasing issues with non-CMA alloc" 2017-06-22 14:00:19 -07:00
Linux Build Service Account
146cbfce78 Merge "mmc: sdhci-msm: Don't turnoff Vcc during initialization" 2017-06-22 14:00:18 -07:00
Linux Build Service Account
1cbfeeaf0d Merge "power: smb-lib: Add support to detect weak charger" 2017-06-22 14:00:17 -07:00
Linux Build Service Account
01cff86d50 Merge "soc: qcom: glink: Move tx_wakeup_worker to rx tasklet" 2017-06-22 14:00:16 -07:00