Make change to pass the iotcl param to reset_stats
instead of NULL to avoid NULL pointer access.
Change-Id: Ie5fe6d3dd530ac2efc0fe670cccd20b9a2fbe968
Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com>
Signed-off-by: Utkarsh Saxena <usaxena@codeaurora.org>
Move preparing/unpreparing the clock source parents from the clk set rate.
This is required as invoking prepare from clk enable with disable irqs and
prepare would take a mutex resulting in sleeping from invalid context.
Change-Id: I90d8a346f684747f635bd9e7254ceb8d45841b05
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Update the 'apm-threshold-voltage' as per recommendation and also enable
the OSM cpu clocks.
Change-Id: I8074699b1ea9e5182a136d4935ffd2938972a91b
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Enable MSM_TIMER_LEAP config flag in both msmcortex_defocnfig
and msmcorte-perf_defconfig files. This option enables check
for architecture timer leaps, when all least significant 32bits
of CNTVCT or CNTPCT counter is set and rereads counters.
CRs-Fixed: 1074621
Change-Id: I0ffa124df76f8cc063c2ebee5497baed879c76ef
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
There is potential rollover condition for CNTVCT and
CNTPCT counters. So on any architecture timer counter
read, if the least significant 32 bits are set,
reread counter.
CRs-Fixed: 1074621
Change-Id: I136a5f0ee04deeb74c03800d591e44fbd9b4dd39
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Enable SCHED_AUTOGROUP which enables certain optimizations in the
scheduler for better performance.
Change-Id: Ib099531ed19715e88373d4aee2926205a8eaf9c6
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Add resource manager for retrieving the control paths and layer
mixers. Encoder and CRTC use this to get the hw driver contexts
for those blocks.
Change-Id: Id6789ef24616197a295bcb5687a0de659cc11e5d
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>
Add mdp_top block support to hw layer, provides split pipe
control, and interface select. Use mdp_top from intf block
to program interface select.
Change-Id: I15f2070f7d552a6ec11bda0302f362e22ca6e84e
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
Signed-off-by: Krishna Srinivas Kundurthi <kskund@codeaurora.org>