This change adds YUV format support for HDMI.
Also, chooses the best mode for turning on the
sink based on sink source capabilities. This
can be either RGB or YUV. For YUV formats adjust
the pixel clock and also configure the relevant
hardware blocks in SDE.
Change-Id: I48a36a991c194badb3ddca4bbf5bcbc21d838b8f
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
Check if the TV supports deep color and adjust the
pixel clock accordingly before setting the mode. Also
make sure that this pixel clock is within the limits
of the sink.
Change-Id: I3c44c06ea54b6c49e19c8c41d693000f7c3feeb7
Signed-off-by: Yuan Zhao <yzhao@codeaurora.org>
DVI/HDMI mode of sink could be read from EDID. Now, we set
the mode according to the video format. For a HDMI device,
if we choose VIC mode larger than 127, it would be set as
DVI mode. It would be confused that a HDMI device is treated
as a DVI device, and would lead some issue for display.
CRs-Fixed: 2030216
Change-Id: I122faf6f4f8d7e620bc6ce7ce1b5757caa188b8e
Signed-off-by: zhaoyuan <yzhao@codeaurora.org>
Change the array index 'i' of pwrlevels[] to unsigned int, which can't be
decremented beyond zero.
Change-Id: I9b646fccf03437f6facf0d5938f097916d13d2f2
Signed-off-by: Venkateswara Rao Tadikonda <vtadik@codeaurora.org>
Detect frame out of sync based on interfaces, instead of
time to avoid synchronization issues.
Change-Id: I76d9d5a3c83ed8017607fd452e5503260cad659a
Signed-off-by: Ramesh V <ramev@codeaurora.org>
xHCI specs revision 1.1 mentions that if Compliance Transition
Capability (CTC) flag is set, then xHC supports software control
of the transition to Compliance mode. For this, we need to write
a value of 10 to Port Link State(PLS) field of PORTSC register
during dwc3_otg_start_host time after the xhci platform device
has been added. Then the link transitions to compliance state
on detection of first LFPS timeout.
Steps to enable compliance transition:
1. Do not connect host cable
2. echo y > /sys/devices/soc/a800000.ssusb/xhci_link_compliance
3. Connect host cable with breakout fixture and start testing
Steps to disable compliance transition:
1. Disconnect the host cable
2. echo n > /sys/devices/soc/a800000.ssusb/xhci_link_compliance
3. Connect host cable
Change-Id: I73225ccad105414d3ebd60f95138b9ecf65005d4
Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
During port reconfiguration, reallocating internal
buffers adds to the reconfiguration delay. This change
ensures that maximum supported size of internal
buffers are allocated to avoid reallocation during
port reconfiguration.
Remove the RECONFIG_HINT command as userspace client
does not use this command.
CRs-Fixed: 2071064
Change-Id: I66b5b472f08b9264841dae4f2339f85e3ba879ff
Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Add MM front end DAI links to support concurrent interactive
streams
Change-Id: I9cd95d855f2ddc3345453807e4be235c430b9ef3
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
Add changes to register and receive parameters for pan/scale
and downmix operations.
Change-Id: If0e747304595f9ed3bd19b25e3f4eab2db382a67
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
Add support for set params on ASM/ADM for MFC and
Volume modules. Make PSPD mitrix set param api generic.
Change-Id: I75a5b9e3fd2316b75be41439848f89190944bc36
Signed-off-by: Varun Balaraj <varunb@codeaurora.org>
No need of having high number of tty port for HSUART which just wastes
resources. Make this optimal based on the use cases.
Change-Id: If82fc1a3457fae7503d7557817ca776f19027da7
Signed-off-by: Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Currently driver is enabling VBUS first and then enable VCONN before
PE_SRC_startup when type C mode is POWER_SUPPLY_TYPEC_SINK_POWERED_CABLE.
On some platforms, enabling VBUS is taking time which is causing VCONN
reaching 2.7V after VBUS reaches VsafeV. This is exceeding 2msec timelimit
mentioned in type C specification and causes type C complaince tests
failure. Hence enable VCONN first and then enable VBUS to pass below
type C compliance tests:
TD 4.8.3 DRP Connect Vconn Accessory Test
TD 4.9.1 Source Suspend Test
Change-Id: I2697acdcaa063f251dd37035475392510037bee5
Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Temp in trace_temp_notification is not divided with
scaling factor while cpu_node->temp is. Use temp after
scale for better log understanding.
Change-Id: Iadf4a1c39211651fee67cc18f68a65785f28fa58
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
Enables pmic gpio13 on msm8996 so that the neutrino driver can toggle it
during probe to bring the hardware out of reset. This is required for
suspend/resume when neutrino resx is disconnected from pcie_reset.
Change-Id: I21a8e556903756ed39abdde5a17e8b6d353c0504
Signed-off-by: Philippe Gravel <pgravel@codeaurora.org>
In __ip6_datagram_connect(), reset socket->socket_v6_daddr and inet->dport if
error occurs.
In udp_v6_early_demux(), check for socket_state to make sure it is in
TCP_ESTABLISHED state.
Together, it makes sure unconnected UDP socket won't be considered as a
valid candidate for early demux.
v3: add TCP_ESTABLISHED state check in udp_v6_early_demux()
v2: fix compilation error
CRs-Fixed: 2057820
Change-Id: Ifa9c2ddfaa5b51d4082b7b1dd8a5d03b3c290705
Fixes: 5425077d73e0 ("net: ipv6: Add early demux handler for UDP unicast")
Signed-off-by: Wei Wang <weiwan@google.com>
Acked-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 85cb73ff9b74785a7fc752875d7f0fe17ca3ea7c
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[subashab@codeaurora.org: resolve trivial merge conflicts]
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
David Ahern reported that "net: ipv6: Add early demux
handler for UDP unicast" breaks udp_l3mdev_accept=0 since early
demux for IPv6 UDP was doing a generic socket lookup which does not
require an exact match. Fix this by making UDPv6 early demux match
connected sockets only.
v1->v2: Take reference to socket after match as suggested by Eric
v2->v3: Add comment before break
CRs-Fixed: 2057820
Change-Id: Ief9fd4a51561b7a49efa3780ebe8dc3632bdfa1c
Fixes: 5425077d73e0c ("net: ipv6: Add early demux handler for UDP unicast")
Reported-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Cc: Eric Dumazet <edumazet@google.com>
Acked-by: David Ahern <dsa@cumulusnetworks.com>
Tested-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Git-commit: 0bd84065b19bca12f07f288c8ea470e2c1b2de7a
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
[subashab@codeaurora.org: resolve trivial merge conflicts]
SDE rotator cannot accept 0 value for traffic shaping. This fix is to
limit the minimum traffic shaping value to be 1.
CRs-Fixed: 2074997
Change-Id: I5c96d600d77a5bfe09fe2667b914cb498371391e
Signed-off-by: Benjamin Chan <bkchan@codeaurora.org>
Add initial set of device tree files for msm8998-9x55 target.
Change-Id: Icd2d5555a2b48cd935fc4ced54c9a061f3a62a10
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
Add DT entry to use wlan carveout region for WLAN MSA0.
CRs-Fixed: 2075205
Change-Id: I86d90247155884488e639bd8d487157524b977e9
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
The patch sets the stream for user PD based on
its active mdlog session. The patch updates proper
peripheral information required for hdlc encoding.
CRs-Fixed: 2063972
Change-Id: Iedfad5161b1145245883282b29811a82343e79ba
Signed-off-by: Manoj Prabhu B <bmanoj@codeaurora.org>
Remove compilation of the module as built-in
by default.
Change-Id: Iadb70814c02df68b75ae4efae66637beaf520b9e
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
Add mdio_bus_id and phy_addr to access phy device
instead of scanning mdio bus. It will reduce time
cost during ethernet driver loading.
Change-Id: Ifb1574d4a68944a087dcafb12bc79098bc3156e4
Signed-off-by: Zou Shunxiang <shunxian@codeaurora.org>
Currently, there is a possibility of using already freed
memory device session members during mask updates. The
patch fixes the issue by adding proper protection.
CRs-Fixed: 2074264
Change-Id: Iff2009a498506ffe574655badfe0a0f9f0dece9a
Signed-off-by: Mohit Aggarwal <maggarwa@codeaurora.org>
Disable CGROUP_DEBUG config for msm8998 in perf defconfig.
Change-Id: Ib321201ea0761548fb26db42d59cad07a08eca85
Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
WLED module does not have the SC protection feature on PM660l.
Hence remove the SC properties from the WLED device tree node.
CRs-Fixed: 2071302
Change-Id: I45ea0b7581780988b51ab3665c08d8a67a3ce4d3
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
We observed an interrupt storm on that interrupt
even after the usb path is suspended.
So keep this interrupt disabled as long as the usb
path is suspended.
Note that since the current limit votes can come in
prior to interrupt registration, rerun the election
on the votable after interrupts are registered.
Change-Id: Ib43b071b7b0decf8e50d27d585bea04b727f9475
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
As per PCIe spec, PCIe link needs to be set to D3hot state before
entering D3cold state.
Change-Id: I68defc4cf29fe88262e92fe8fb934948ad13aef4
CRs-fixed: 2059087
Signed-off-by: Yue Ma <yuem@codeaurora.org>
Currently the buck frequency is set to 700kHz only when the smb138x is
in master mode. The buck frequency needs to be 700kHz in both master and
slave mode to prevent ADC errors. Do it.
Change-Id: Ib2cea9b38b6b23f9f229ee85c2bde5a5fd6220fd
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
WLAN QCA6290 chipset specific changes are featurized under
this config entry.
Change-Id: I9283ea5dcac702018b2483cdcd4aea254e96c51a
CRs-fixed: 2071634
Signed-off-by: Yue Ma <yuem@codeaurora.org>