Enable ESD feature for hx83112a video mode panel on
sm6150 platform.
Change-Id: I068f08f4ea43f239ac9f1910528d639c092e99ea
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Avoid unnecessarily dumping all the panel specific commands
in dmesg log.
Change-Id: I6b1189b32c7477d6aab39b65e430fc7171cef6e5
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Enable BTFM interface to add the FM related DAI
links in sm6150 target.
CRs-Fixed: 2286582
Change-Id: Iad5d6f428e59fb2f098d2821df9940e80766545e
Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Current nl80211_update_ft_ies doesn't validate NL80211_ATTR_IE
before dereferencing it, which leads to a null pointer exception
if not passed.
This commit validates this attribute too.
Change-Id: Ia40b02fc218bc26a07bc6b2153f425b8cae3bd82
CRs-Fixed: 2261685
Signed-off-by: Arunk Khandavalli <akhandav@codeaurora.org>
Signed-off-by: Srinivas Dasari <dasaris@codeaurora.org>
Adding IPA power management feature support to SM6150
target.
Change-Id: Ifa7e8048a1d63f0d9919337c7bc2b6e48d49a819
Acked-by: Ashok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Enable AR803x PHY support for Ethernet for perf.
This also enable ptp config.
KS8851 PHY is not needed for qcs405 removed
it.
Change-Id: If0fca7b2247324915d3427f89a1fac22d5ec6b99
Acked-by: Suraj Jaiswal <c_surajj@qti.qualcomm.com>
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Enable ro.boot.avb_version and add "android,vbmeta" for
setting system properties for verified boot.
Change-Id: I91f43728f90ec6175743a5e2c52a6915b8a84777
Signed-off-by: Monika Singh <monising@codeaurora.org>
The task demand in 1024 units is readily available in task_struct, so
use it directly for cumulative_runnable_avg and cum_window_demand
accounting. The cpu_util() and cpu_util_cum() functions which are
called multiple times during the task placement can return the
scaled values without doing any math.
Scaling the sum of unscaled demand of tasks is more accurate compared
to the sum of scaled demand of tasks, but it is good enough for
task placement decisions.
Change-Id: Iba4be93cd34f130bed1cb533ecaa52ab8bae5f3d
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
task_util() for WALT is currently defined as
p->ravg.demand / (sched_ravg_window >> SCHED_CAPACITY_SHIFT);
This math is required to scale the task demand to 1024 scale.
task_util() is used many times in task placement. So the calls
to this can be optimized by caching the scaled value when task
demand is calculated.
Change-Id: I0c170a10704ae3e8fe4e9f271e8e65c3923075e5
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
The global variables are initialized in walt_sched_init(). This
function is called for each rq initialization and the global
variables are initialized again unnecessarily. Refactor the code
to fix this.
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Change-Id: I085bc9ff576f655afa12fda015f054fbab3a0c91
* commit '0a738d239a93fa2c7a67b50f83b427a1138b5fc9':
msm: camera: isp: Poll for CSID hardware reset status
msm: camera: icp: Relaxing the aggression for Clock and BW voting
msm: camera: req_mgr: Populate dev_hdl to notify events to RT devices
msm: camera: isp: Add active list request flush support
msm: camera: isp: Report bubble on request in wait list
ARM: dts: msm: Add src-clock-name in csiphy node
msm: camera: Add support for nominal l1 clock
msm: camera: cpas: Add sm6150 camera hw version support
msm: camera: ife: config rdi HFR
msm: camera: cci: Modify condition check to read CCI data
msm: camera: sync: Add callback mechanism for signaled objects
ARM: dts: msm: Add camera dts node for sm6150
msm: camera: icp: Change log type for hfi queue dump
Change-Id: I25d4c2b039ce1b7f1d395639e2c1902ecd76af98
Signed-off-by: Harsh Shah <harshs@codeaurora.org>
gadget_driver can become null if gadget_stop is called while any other
gadget callbacks are in progress. As gadget callbacks needs to release
spinlock before the callback, store the local copy of gadget_driver to
avoid the race with gadget_stop.
Change-Id: I7f0cbf9af3e3b286f2826647f08215f29f699de1
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
External modem boot logs will be routed to ipc logging buffer
instead of userspace.
CRs-Fixed: 2299820
Change-Id: Ib8fc6896f9ec3e0560409422b031ae9ac60e5c71
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
As part of improving FDE performance, code to get ICE settings
is not quite clear. Hence, adding context in ICE setting so that
it is clear what settings is ICE HW getting for each context.
Change-Id: Iab521e893a0a204719dd29e2d69fc8f0261720d0
Signed-off-by: Dinesh K Garg <dineshg@codeaurora.org>
When the PCIe TBU gets halted due to atos debugging, any traffic
that the PCIe master sends gets halted on TBU/NNOC and any
transaction sent to PCIe slave from CPU gets hanged as well because
of the dependency on PCIe master to finish the transaction. Due to
CPU being hanged, there is no way to unhalt the TBU by SW and the
system enters into deadlock. Avoid such scenarios from occurring by
opting-out PCIe TBU from being halted.
Change-Id: I83f3a06cdfe509c458369ea8a550c1184a9d49ff
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
Halting certain TBUs would cause considerable impact to the system
such as introducing HW deadlocks on demand. Such TBUs should not
participate in being halted for any atos debugging or power collapse
features. Allow such TBUs to be opted-out.
Change-Id: I5ae3d72d0b2536fd4e909b556361236bae282163
Signed-off-by: Sudarshan Rajagopalan <sudaraja@codeaurora.org>
sm8150v2 does not require VA allocations to be padded up.
Remove the VA padding requirement on this device.
Change-Id: Ibdafa78abe8a6fe0ab87d1d31af3cfc7874d25fc
Signed-off-by: Urvashi Agrawal <urvaagra@codeaurora.org>
A bug in MHI system suspend function caused the function to exit
prematurely without disabling runtime suspend. The subsequent
runtime resume caused unbalance enable count.
CRs-Fixed: 2291885
Change-Id: I9f45a86fff2caf4ba13236677d1325e7093a1947
Signed-off-by: Sujeev Dias <sdias@codeaurora.org>
SDE driver registers for single pm_qos node but uses it for
multiple command displays. That may lead to warnings if multiple
independent command mode displays try to keep vote at same time.
This change adds atomic refcount to add/remove the vote.
Change-Id: Idc5655bff2fea4a9724a6b9024e85ced46a9c4bc
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
The GMU firmware team does not currently use the counters that are
reserved for them, so they are allowing them to be reclaimed
by KGSL for the purpose of monitoring the throttled clock cycles.
This reverts commit 9d57d42d4ed99649aded636977a46735d2393575.
Change-Id: I15e75f77188e91ecdbcf1ea1e2458d1f65122dfb
Signed-off-by: Kyle Piefer <kpiefer@codeaurora.org>
Couple of missing config changes on sdx24 with
respect to EE_n_GSI_CH_k_QOS register,
- USE_DB_ENG
starting from sdx24, since there is no
smart prefetch in MCS, this field should
be 0 (for direct mode) for all channels,
except for MHI with burst mode enabled.
- MAX_PREFETCH
This should be 0 (i.e, one prefetch buffer)
- WRR_WEIGHT
Software configurable, already taken care.
- ESCAPE_BUFFER_ONLY
update as per ep config excel.
Change-Id: Ib464f5b475f843ed0f913f737a1fe6f046969fc1
Signed-off-by: Mohammed Javid <mjavid@codeaurora.org>
Enabling dynamic fps for hx83112a truly dsi
video panels on SM6150. The feature helps to reduce fps
when static screen leading to power saving.
Change-Id: I719d809997067492c1130e95fc099d8fb22b3bba
Signed-off-by: Raviteja Tamatam <travitej@codeaurora.org>
last_switch_out_ts member in task_struct is not used. So remove it.
Change-Id: I7f088f1ee86fa61d3ce88646734866dd7ed2bfe2
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Add reference for Verified boot node to support
system properties.
Change-Id: Ibef29e92ded50ec34c1fb88a2c81d216b29f3c0f
Signed-off-by: Monika Singh <monising@codeaurora.org>
Due to HW errata on the eCATS functionality, doing TBU halt
while data traffic is in progress can cause a system hang.
Disabling ATOS/eCATS is the only way of working around this
errata.
Change-Id: Ie668d7d2a0b7473048a5070bb87d4065d35e1c25
Signed-off-by: Vijayanand Jitta <vjitta@codeaurora.org>