Commit graph

566354 commits

Author SHA1 Message Date
Benet Clark
1fa0751d36 msm: mdss: Add support for DSPP3 in histogram interrupt handler
Previously, we weren't handling histogram done interrupts for DSPP3 in
the interrupt handler. The handler now looks to handle those interrupts.
A helper function to parse the interrupt mask has been added to return
the correct histogram info block.

Change-Id: Ie469a4030b4f4f7ee8e4b8a766539c43f87504ac
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:43 -07:00
Ujwal Patel
39a262ff65 msm: mdss: remove additional vert decimation when per pipe BW exceeds
Currently if per pipe BW exceeds pre-defined limit, we add additional
vertical decimation to reduce BW. But this has inverse effect on quality.
To mitigate this issue, decimate further only if user has already
requested decimation else return an appropriate error which user can
detect and act upon it.

CRs-Fixed: 637971
Change-Id: I1c3b913036b7a1680d6c99b03d42f1204f71f89f
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 20:28:42 -07:00
Siddhartha Agrawal
27fd7dabb7 msm: mdss: Add support to configure the video mode interleave bit
Some video mode panels need to have the command mode
operation interleaved on the last line of the video stream.
Add support to enable this register via a panel dtsi property.

Change-Id: I3dfe36816d7602da4f66d09ea23ac9c6185f9858
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23 20:28:42 -07:00
raghavendra ambadas
fbad64334d msm: mdss: add real time debug log
To analyze issues like underruns and other timing issues
add xlogs. Add debugfs entry for xlog to enable or disable
logging and register dumping at run time.

Enable xlog: echo 1 > <debugfs>/mdp/xlog/enable

Enable register dump:
echo 1 > <debugfs>/mdp/xlog/reg_dump

Enable panic on error:
echo 1 > <debugfs>/mdp/xlog/panic

Get xlogs and register dump
cat <debugfs>/mdp/xlog/dump

Change-Id: I10c2993d9dde6ef16a37256928fff1239e6370ff
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
[cip@codeaurora.org: Moved mdss_debug_xlog.c file location]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:28:41 -07:00
Ajay Singh Parmar
43fe9104f7 msm: mdss: hdmi: support for hdmi primary
Set HDMI as primary panel if module command line contains hdmi
primary information.

Module cmd line is of format: panel=<lk_cfg>:<pan_intf>:<pan_intf_cfg>
For HDMI as primary, panel_intf would be "hdmi"

Change-Id: I25e37bb019a51c747c6c2a003bcf8d4ccc3a9f91
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:28:40 -07:00
Benet Clark
19d2cf48e3 msm: mdss: Fix single pipe AD tile control
The tile control parameter is used by the Assertive Display
block to control merged mode or independent mode AD for
dual-pipe AD. However, in single pipe AD, the tile control
should always be set to zero.

Change-Id: I0dd3c3b716fd5156d9a0f9206911159d186fd9c7
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:39 -07:00
Ingrid Gallardo
263af903bc msm: mdss: add property to set from device tree the overlap BW fudge factor
Current calculations apply one fudge factor to the final bandwidth
regardless if this is a result from the overlap or prefill calculation.
With this change the final bandwidth can be tuned up to apply a different
fudge factor when the bandwidth depends on the overlap calculation.

CRs-Fixed: 635005
Change-Id: Iaa9718bda3264a47bf70a2facba0d23e4b2414f3
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 20:28:38 -07:00
Ujwal Patel
5570af793a msm: mdss: fix race condition between shutdown thread and fb ioctl
Currently all entires into fb driver are synchronized with shutdown
context except fb ioctl context. fb ioctl is an asynchronous entry to
fb driver which can be called simultaneously from two different user
processes. Synchronize these fb ioctls and shutdown context to prevent
race condition.

Change-Id: I81ce48159fce69caabc3336d70df2bd15c4ee44b
CRs-Fixed: 640199
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 20:28:37 -07:00
Aravind Venkateswaran
f1666ffba8 msm: mdss: dsi: check ULPS state only for active lanes
It is possible that for certain panels, not all four data lanes are
active. After configuring the lanes to Ultra Low Power State (ULPS),
only check the status of the active lanes since the lanes that are not
used will never enter ULPS.

Change-Id: I0da358f2bd24d4472cfccb6cca9ca8b26ffa8226
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:28:36 -07:00
Ajay Singh Parmar
2675ba323b msm: mdss: hdmi: enable hpd interrupts for hdmi primary
HDMI as primary will also be HPD interrupt based. Update
user space with cable connect/disconnect notifications.
Enable DDC power as done normally in HPD interrupt handling.

Change-Id: I96b63be5877f1cde38604bc4cdb2dfcdc674cb8f
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:28:36 -07:00
Casey Piper
7aea7064af msm: mdss: Use common include locations and pointers
Update hdmi to use common linux includes instead
of platform dependent header files. Also update
print statements to use platform independent
%p instead of %x when printing hexadecimal
addresses.

Change-Id: I4722f3f34a4ea23fda3f66eabddac58dfef1556c
Signed-off-by: Casey Piper <cpiper@codeaurora.org>
2016-03-23 20:28:35 -07:00
Casey Piper
a2fa534537 linux: Move hdmi audio codec header to common location
Move contents of msm_hdmi_audio_codec.h
directory to msm_hdmi.h in common linux
directory to remove platform dependence.

Change-Id: I6331073ba1e5e119770c5e8cb50f6ff677807292
Signed-off-by: Casey Piper <cpiper@codeaurora.org>
2016-03-23 20:28:34 -07:00
Ray Zhang
6502bc9e05 msm: mdss: only assign mfd pointer in blank event
Currently mfd pointer is assigned in coming fb_event_callback,
which is possibly invoked in WFD case too. This should be
avoided since DSI check should only apply to primary display.

CRs-fixed: 639687
Signed-off-by: Ray Zhang <rayz@codeaurora.org>
Change-Id: I4592c62349dd7d34082b3e73f5cbb3b49e80dc9b
2016-03-23 20:28:33 -07:00
Mao Flynn
33fccd68be msm: mdss: support LDO mode for DSI PHY regulator
DSI PHY supports two regulator modes: LDO and DCDC.
While DCDC offers power efficiency, but it requires an
external inductor. So it is required to enable LDO mode
to save the extra PCB board cost.

Change-Id: I156ba8af7857743db5373a9e3f79d948cf9e1427
Signed-off-by: Mao Flynn <Flynn@codeaurora.org>
2016-03-23 20:28:32 -07:00
Ujwal Patel
500f2072d9 msm: mdss: update watermark level programming for macrotile formats
Fetch and store logic for macrotile format is different than linear
format. Update watermark level programming to accommodate these
differences.

Change-Id: Id0810bd1e56f9fca00de94f933c9e2db6dead83c
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 20:28:31 -07:00
Ping Li
cb0402ff45 msm: mdss: Fix the incorrect address base for postproc calib ioctl
The postproc calib configuration address should always offset form
MDSS base, not MDP base. Also allow postproc calib ioctl to access
the MDSS version register.

Change-Id: I9dbf5a2a75a0a384e7f97efca49f1a75e5d01fc8
Signed-off-by: Ping Li <quicpingli@codeaurora.org>
2016-03-23 20:28:30 -07:00
Xiaoming Zhou
20cd4e4a73 msm: mdss: add overlay configuration error handling logic
This is to add the error handling logic to catch the wrong
overlay configuration from user space.

Change-Id: I59523de392dcd21309bfa9eb9a944047505df2a3
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
2016-03-23 20:28:30 -07:00
Shivaraj Shetty
de66a9ddbe msm: mdss: Configure minimum voltage for CX power rail
For smart panels, we observe abnormal waveforms and
unexpected voltage spikes on DSI data lanes when the cx
power rail goes to minimum voltage. Vote for the cx
regulator in mdp3 driver and control the voltage to
avoid frame shifting.

Change-Id: I8ce8d7621f903966f519da563a9c57701146be24
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
2016-03-23 20:28:29 -07:00
Ajay Singh Parmar
0e3873b4f5 msm: mdss: hdmi: cleanup AVI infoframe register write
Define all the data associated with AVI infoframe. Write
the AVI infoframe data into registers in proper order.

Define and write into registers the AVI infoframe data
in a clean and readable format.

Change-Id: Id2bff5eb37aadcb4b5de86ff0dbba2a579ddf013
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:28:28 -07:00
Sree Sesha Aravind Vadrevu
85c7ce540d msm: mdss: Remove init phase programming
Init phase should only be programmed to a non zero value only through
a user program. Default value of zero is programmed by the driver to
avoid hardware hangs

Change-Id: Iff99394d2f3a937c5bb4456c2f7ca5669a5c732b
Signed-off-by: Sree Sesha Aravind Vadrevu <svadrevu@codeaurora.org>
2016-03-23 20:28:27 -07:00
Adrian Salido-Moreno
ad28c3413c msm: mdss: refactor pipe list management
A pipe can only belong to either used list or cleanup list, to ensure
this refactor the list management by having only a single list head in
pipe structure. Also add a better name for the lock that should be used
for ensuring atomic access to these lists to prevent incorrect use of
these locks.

This also ensures that a pipe can only be freed on the fb device it was
allocated and prevents unexpected behavior when this is not the case.

Change-Id: Ib1c8ffefe51d837c2b30aa3734d37fee3c54cf1b
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2016-03-23 20:28:26 -07:00
Xiaoming Zhou
72e5965f05 msm: mdss: fix a racing condition in the dsi interrupt handler
At the time of dsi interrupt handler registration, there may be
a pending dsi interrupt. This can cause a dead-lock, as dsi clocks
and resources are not initialized properly yet.

Change-Id: I511d0776f5d7b500f0f32f2ae9d92ac031f8e613
Signed-off-by: Xiaoming Zhou <zhoux@codeaurora.org>
2016-03-23 20:28:25 -07:00
Ajay Singh Parmar
e04937e74f msm: mdss: hdmi: proper AVI infoframe usage
Correct the VIC code filled in the AVI infoframe
data byte 4. Re-arrange AVI infoframe LUT w.r.t.
the resolution for easy and clear implementation.

CRs-Fixed: 636294
Change-Id: I68e6097a0448b8b932cb5026e8a2b27ee359b8e6
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:28:24 -07:00
Benet Clark
ec8484d6f4 msm: mdss: Handle error conditions in histogram interrupt handler
In the chance that we get an interrupt for a histogram block that
is not enabled, we print an error message to alert of incorrect
functionality.

Change-Id: If99343fb2d385442d85b7d65c5c41fb48ccb2e25
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:23 -07:00
Benet Clark
54822d96b6 msm: mdss: Add error message when histogram bin collection is incorrect
In the cases where histogram bin collection does not return the expected
number of bins, we return an error, however we do not print any error
message saying which DSPP had failed bin collection. In order to know
which pipe the histogram failed on, we must add an extra log.

Change-Id: I1fb39e146cd3367d3b97f10174573a5207284652
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:23 -07:00
Siddhartha Agrawal
1244fc88fc msm: mdss: Correctly calculate DSI clocks if fbc is enabled
In cases where frame-buffer compression(fbc) is enabled, the
compressed ratio for xres isn't considered. Add logic to correctly
account for fbc when needed.

Change-Id: I0eec90cbbe0a0ffaea94cf1c2d6231e6545403b6
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23 20:28:22 -07:00
Siddhartha Agrawal
b6951a8426 msm: mdss: Fix incorrect fbc parameter bit offset
Fix bit offset for lossy RGB threshold in the lossy mode
FBC register. This fixes incorrect fbc parameters being set.

Change-Id: I5e772cc1a8244bad8a236dca561552c4eb516d98
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23 20:28:21 -07:00
Siddhartha Agrawal
6aa4f06269 msm: mdss: Enable FBC on Layer mixer 1
Layer mixer 1 also supports framebuffer compression. This is
needed to support dual-dsi fbc enabled panels.

Change-Id: I1118298e89ce06ef14bbea1c47478f04e3050154
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23 20:28:20 -07:00
Aravind Venkateswaran
b86a5bdecd msm: mdss: Turn on DSI link clocks after exiting ULPS
DSI branch clocks should only be enabled after removing the DSI clamps
when exiting the Ultra Low Power State (ULPS). If this is not enforced,
then the RCG for these clocks may not get turned on correctly which
may eventually lead to some display corruption. Fix this by
appropriately modifying ULPS exit sequence.

Change-Id: I5109dd140f8921256f95eb479dd33a73615d489f
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:28:19 -07:00
Aravind Venkateswaran
aee0c40b98 msm: mdss: Add support to selectively control bus and link clocks
DSI driver needs two different types of clocks for normal
operation - bus clocks and link clocks. The clock control function
enables/disables both these set of clocks together. However,
under certain circumstances, it is required to control just the
link clocks or the bus clocks. To support this, add separate
ref counts for link and bus clocks and modify the clock control
function to selectively control these clocks.

Change-Id: I25312131fc737b56dc15f4edf5e55a5824dad855
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:28:18 -07:00
Aravind Venkateswaran
9344504e2e msm: mdss: cleanup dsi clock handling
Currently the DSI driver uses a two level reference counting for
the clocks used by the driver so as to ensure that the clocks are
correctly configured for dual-dsi use cases. However, this is not
necessary as the same can be achieved by using a single reference
count. Clean up the code to remove the sub-level ref counts and
add necessary error handling.

Change-Id: I6f1c1bfe83322dc0e1da3d757b6ca88cd629663e
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:28:17 -07:00
Aravind Venkateswaran
ec96ea593c msm: mdss: Cleanup handling of dual dsi broadcast mode
When broadcast mode is enabled for dual dsi panels, the two dsi
controllers act in a master-slave configuration. A lot of configuration
in the driver requires special handling in such scenarios. Current
implementation has a lot of redundant code to check for broadcast mode
configurations. Rework the code to remove these and add a unified set of
APIs to query broadcast mode configurations.

Change-Id: I634f94266e8dce28bcaa897ef39e7c3ca9b558e5
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:28:16 -07:00
Ujwal Patel
12c90ec951 msm: mdss: fix asynchronous rotation of layer bigger than line buffer
If MDSS HW has more than 2 rotators and if the layer width is greater
than line buffer width then layer is divided into two and each half
can be rotated independently and asynchronously. Current implementation
sets up the configuration of both halves independently but the rotation
of second half is triggered only after first half is finished. Fix this
issue by making writeback_kickoff unblocking call and wait for the
rotation completion after all the rotations in the current session are
queued.

Change-Id: I90ff7feab7979037e596a3b8d8c9e6c138574e94
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 20:28:16 -07:00
Casey Piper
4ab29cdf91 msm: mdss: hdmi: Add CEC interrupt bit macro
Use a macro for the interrupt bits and
use bitwise complement instead of logical
negation when disabling HDMI CEC interrupt.
Using logical negation will evaluate to 0
which will set the entire register value to
0 instead of just bits 1, 3, and 7.

Change-Id: Ia6b6a48500b4cc149c4f6b91859bdcc6882a7244
Signed-off-by: Casey Piper <cpiper@codeaurora.org>
2016-03-23 20:28:15 -07:00
Kuogee Hsieh
a281b8d29d msm: mdss: keep clocks on during kickoff operation
There is deadlock scenario where work thread to turn clocks off is
trying to acquire DSI's mdp_busy lock while holding clk_mtx to turn
mdp clocks on.  Meanwhile kickoff thread holds mdp_busy lock and
trying to acquire clk_mtx to turn on clock.
This patch ensure that clocks are kept on and work thread is not
scheduled while kickoff is in progress so that deadlock will not happen.

Change-Id: Iceb5db431a7f9f0e1f56a0e3c1ced2d08d762b86
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
2016-03-23 20:28:14 -07:00
Ujwal Patel
6d013eb88a msm: mdss: fix wb_ctl_alloc to allow use of rotator2
Currently MDSS HW can support maximum of 5 active ctl paths, so the size
of the container array holding all ctl paths is also 5. Now current code
has a limitation where it doesn't allow rotator2 to be used if number of
DSPP based interfaces are 4, which is the case for apq8084. This can lead
to sub-par performance when more than 1 rotator sessions are needed
simultaneously. Fix this by allowing last 2 spots of the ctl path
container array for rotator.

Change-Id: I40e968141d92ce6272072d9b5b8c59402d8a543c
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 20:28:13 -07:00
Ken Zhang
7740ab0062 msm: display: 9x35: qpic bus request
Add bus vote for display transfer.

Change-Id: I0803dde181b43885bae395b685298cedb7af8296
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
2016-03-23 20:28:12 -07:00
Ken Zhang
7e47065208 msm: display: 9x35: move platform config out of panel driver
Move platform specific configuration out of panel driver so
that it can be reused for different platform.

Change-Id: If7ef3c4576f554675ba4d36eac21fc3e5152ea67
Signed-off-by: Ken Zhang <kenz@codeaurora.org>
2016-03-23 20:28:11 -07:00
Aravind Venkateswaran
51b26a9671 msm: mdss: Program unpack pattern for pipes with solidfill
When a pipe is staged with a solidfill color, we need to also
program the correct unpack pattern for the color format. If the
unpack pattern is not specified, the corresponding color layer may
not be display correctly.

Change-Id: Ic52fe29235813faa788745dd72f82edaca2635f1
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:28:10 -07:00
Ingrid Gallardo
7f7c8c3860 msm: mdss: fix issue of overlapping BW for two adjacent surfaces
Current code detects two adjacent surfaces as if those were overlapping,
this can impact by increasing the bandwidth calculations in this scenario.
These changes correct the algorithm to avoid the overlap in boundaries
that are only adjacent.

Change-Id: Iee43c1662c90c38dbff03991ee93884ef444fb19
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 20:28:09 -07:00
Ujwal Patel
4761289a11 msm: mdss: add support for rotator in mdss_mdp_mixer_get
Currently ctl->mfd is not populated for rotator sessions. If
mdss_mdp_mixer_get is called by rotator session then it will always
fail the NULL check for ctl->mfd. This will flood the logs for every
rotator commit and can lead to un-predictable outcome. Fix this by
properly handling rotator case in mdss_mdp_mixer_get.

Change-Id: Ib1896149302bd60b99028ae26df2393fab30dd6e
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2016-03-23 20:28:09 -07:00
Benet Clark
476a2e4892 msm: mdss: Prevent AD on WFD configuration
Assertive display is not allowed on HDMI and WFD configurations.
However, since WFD uses the writeback path, and AD uses the
writeback path for earlier hardware, then we must check which
hardware configuration is being used when checking writeback
panel configuration to prevent or allow AD.

Change-Id: I85f7380d0345cad7785ed41e22df559bc5c1618e
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:08 -07:00
Benet Clark
36e1ed5c26 msm: mdss: Add special case for DSPP3 histogram intr shift bit
In order to enable/disable histogram interrupts, the interrupt
bit mask is programmed to the same histogram interrupt register for
all DSPPs. However, DSPP3's bit mask does not follow the typical
offset. We must add a special case for that interrupt bit shift.

Change-Id: Ia76a7eb0e56e30b657968ea776579c53ff43e390
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:07 -07:00
Benet Clark
4262433379 msm: mdss: Fix locking error in histogram enable
There was a missing spinlock around a histogram variable that needs
locking when being read. It has been added.

Change-Id: I78ca9652ecf6e08168842b17000aabf6b6308d4c
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:06 -07:00
Benet Clark
8d9557d69d msm: mdss: Move histogram completion initialization to pp_init
The histogram completion structures are initialized in pp_init, in
order to avoid the wait_queue initialization being called multiple times.
The init_completion in hist_enable has been replaced with a safer
function that does not modify the wait_queue.

Change-Id: If4dfc6a74069d9adc867131201e6f74c3c81c1ac
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:05 -07:00
Jayant Shekhar
fe64bfa426 msm: mdss: Prevent race condition between dsi off and bta status check
fb_event_callback() is what is responsible for cancelling the
delayed_work when it gets the FB_BLANK_POWERDOWN event. However,
this event occurs after the panel & DSI have been turned off. So
if the check_status function was being called right when the panel
is being turned off, we have a race conditon. Hence check
shutdown flag to avoid bta status check when dsi is being turned off.

Change-Id: I103bafb4ab63be83c47dfd6b3bad06d36704ff68
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-03-23 20:28:04 -07:00
Adrian Salido-Moreno
dc6a831eed msm: mdss: release rotator fence on kickoff failure
When rotator fails, the rotator fences will never be signaled through
rotator completion. For this case still need to release the sync fences
as the source buffers will no longer be used for this session.

Change-Id: Idfb2a4b042e89f28d19b10db8e77e06bebad8459
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2016-03-23 20:28:03 -07:00
Benet Clark
1fd64e0fd3 msm: mdss: Move histogram addr and interrupt setup to hist init
Currently, the histogram register address and the hist interrupt
bit shift were initialized during hist_enable. However, these values
are needed earlier in histogram info initialization. These values
are now initialized when the hist_info structures are allocated.

Change-Id: Ic82fa3da479b59b88bca5aae6f04b32f97182bc3
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:02 -07:00
Adrian Salido-Moreno
f0b80fa5a1 msm: mdss: release secure UI buffer as soon as pipe is destroyed
When secure UI session is in progress, need to make sure that the
buffers are released as soon as pipe is freed to make sure secure
session can be properly terminated without any secure UI buffers
remaining as mapped.

CRs-Fixed: 619802
Change-Id: Ia2fa87f3182efc170304a53eb8d6b3f614355245
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2016-03-23 20:28:02 -07:00
Benet Clark
8806d27cbd msm: mdss: Fix locking error in histogram setup
Previously, during histogram setup during dspp setup, there
was a check on histogram collection enable that was not protected
by the histogram mutex and spinlock. It has been added.

Change-Id: I28770486d31da6b9b8b7420e98f0e6a5a23ed0c2
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:28:01 -07:00