Commit graph

568268 commits

Author SHA1 Message Date
Jayant Shekhar
e9bc670954 msm: mdss: Use heap instead of stack for panel_info in check var
If add new elements to the structure mdss_panel_info, there
are possibilities to run into build errors as local variable
of mdss_panel_info in function mdss_fb_check_var has huge
size which crossing the 2048 limit. Hence use heap instead
of stack for mdss_panel_info.

Change-Id: I1f07c2f00f5bf6cb494859a85108e3dab8775293
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-03-23 20:46:33 -07:00
Kuogee Hsieh
a4738a73fd msm: mdss: add iommu mutex for dsi dcs command send
DSI use iommu buffer to store dcs commands to be sent
to panel. Iommu mutex is need to ensure iommu will not
be dettached during send.

CRs-Fixed: 796660
Change-Id: I9904dc001a3923d545b2d01aac5c0cdc9e0cdeb6
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
[cip@codeaurora.org: Resolved merge conflict]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:46:33 -07:00
Ingrid Gallardo
ae4ed9a00d msm: mdss: fix typo in exposed mdp capabilities
Fix typo in mdp capabilities that are exposed
to user space. Code was missing a new line sign,
causing two capabilities to be appended in the
same line.

Change-Id: I005c710f6dcda623b3048cb2d9d4c601a80bf3c9
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 20:46:32 -07:00
Ajay Singh Parmar
919af5ce9b msm: mdss: hdmi: enable hdmi before ddc transaction
DDC transactions need HDMI to be enabled. Enable HDMI Tx core
before scrambling setup which uses DDC.

Change-Id: I592d239eaba37d8102ea440937dc2c29b5821461
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:31 -07:00
Ajay Singh Parmar
7f60965397 msm: mdss: hdmi: load hdcp1.x app only at bootup
Do not load hdcp1.x app at runtime and keep the app status for
future use. Whenever cable is connected and hdcp 1.x needs to
be started, just set keys using app. This avoids any possible
app load - unload issues in some corner cases.

Change-Id: Ic7f55ab74d6cb6b9ff654eb32c0bed8a44f70007
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:30 -07:00
Ajay Singh Parmar
233a722f7f msm: mdss: hdmi: hdcp2p2: check for downstream topology change
Check if a new device is connected to the HDMI network. Repeater
provides new list of receiver IDs when any new device is connected.
Poll to check the same and update topology as per hdcp 2.2 standard.

Change-Id: Icb92dc95a84b0c33e67e7ecd5381a3f966b0f557
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:29 -07:00
Ajay Singh Parmar
c5cda87b76 msm: mdss: hdmi: link integrity check
Add support to check link status within every second as per
hdcp 2.2 standard. Check for re-authentication required bit
in rxstatus. In case sink has indicated authentication needs
to be teared down and restart, close HDCP lib authentication
session and inform hdmi tx driver to re-authenticate.

Change-Id: I61023d069c88e8ef060683ab369af6bf44bb2972
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:28 -07:00
Ajay Singh Parmar
0057829118 msm: mdss: hdmi: propagation of content stream management info
Add support for propagating content stream related information downstream.
Send/receive repeater authentication stream manage/ready messages as per
hdcp2.2 standard.

Change-Id: I8d37f9f6d4cb131b29128222bb43c9c290c78437
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:27 -07:00
Ajay Singh Parmar
bdb2680679 msm: mdss: hdmi: hdcp2p2: upstream propagation of topology info
Implement upstream topology information of connected repeater
devices to source device as per HDCP2.2 standard.

Change-Id: I375cc2624d5221972a6e4ece2f13dd05e83f7573
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:27 -07:00
Ajay Singh Parmar
a715804225 msm: mdss: hdmi: cleanup ddc usage
Check for all possible DDC errors and clear the corresponding
acknowledge bit. Properly enable or disable the DDC interrupts
based on the requirements. Optimize DDC data structure by
removing unnecessary variables and keeping different DDC related
data under common structure. Move all DDC implementations to one
place.

Change-Id: If63479d5bc263db63e62d1846ab13a2659a83a68
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:26 -07:00
Veera Sundaram Sankaran
126b239dd6 msm: mdss: dsi: fix clk_rate to use u64 instead of u32
Commit f9c04f165f9bb98fe7dbc4c605fba7f34bc4e23c ("msm: mdss: dsi: add
support for multiple panel timing settings") changed the
mdss-dsi-panel-clockrate parameter read from u64 to u32 during the
restructuring to use panel timings struct. Revert it back to use u64.

Change-Id: I4d0a97f306e10854dfc169550532bf19772e8692
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:46:25 -07:00
Veera Sundaram Sankaran
27b74e1c70 msm: mdss: avoid pipe_in_use check in recovery path
The pipe_in_use check is invalid during the recovery, as ctl_reset
is triggered and at that point, the pipes are not unstaged yet.
Avoid the pipe_in_use check as it would always be true during
recovery.

Change-Id: I281ab437c3f0beea71c0066d7ffcd3e282fd989f
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:46:24 -07:00
Benet Clark
c9eb1fe129 msm: mdss: Free allocated layer pp_info when scalar copy fails
During atomic commit ioctl, the pp_info and scale data structures
are deep-copied in to kernel structures. If the scale data is failing
to copy, the kernel pp_info structure needs to be freed before exiting
with error.

Change-Id: Ia51f27c288dd88bb36311eae073294208259b71f
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:46:23 -07:00
Benet Clark
e7bfd98d5e msm: mdss: Clear allocated atomic commit kernel memory during copy
Use kzalloc instead of kmalloc to avoid junk data in the allocated
memory for the layer list and scale data.

Change-Id: I4af206d9894027e940d85b733ce4107dd9c14008
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:46:22 -07:00
Aravind Venkateswaran
600868b0d9 msm: mdss: dsi: fix handling of ulps_suspend feature flag
In the current implementation, when ulps_suspend feature is enabled, it
results in ULPS mode being configured even when turning off clocks
during idle screen use cases. Fix this by correcting the conditional
logic when turning off the link clocks.

CRs-Fixed: 912434
Change-Id: I44e8556afcc5110afb9e2193e8558306847e90a0
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2016-03-23 20:46:21 -07:00
Ajay Singh Parmar
38fdd3f630 msm: mdss: hdmi: cleanup wakeup calls
Do not lock in wakeup functions as it may block current thread.
Wakeup can trigger a callback looking to acquire same lock.
Also rename the wakeup command names to properly identify client
and lib commands.

Change-Id: I28411714d2d7f0104364726fc5ce0593e5ccff91
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:20 -07:00
Ajay Singh Parmar
e8591b7730 msm: mdss: hdmi: create separate environments for hdcp lib and hdmi
Isolate the execution environments for HDMI HDCP2.2 driver and HDCP
library by creating separate threads and executing each work on
dedicated kworker. Do not call each other's functions directly.
Wakeup the other thread when needed and let the independent module
execute their corresponding work and acknowledge by waking up other
thread back.

Change-Id: I67bca61b92c831451ce3482a759a214b1e5d6578
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:46:20 -07:00
Dhaval Patel
14fb79b781 msm: mdss: add arb/xin client and test point info in vbif dbg log
Include arb/xin client information and test point
information in vbif debug bus log for easy parsing.

Change-Id: I366819e98ec9b9815d5cc88587c914bdebf7b4f4
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 20:46:19 -07:00
Padmanabhan Komanduru
b58ac1481a msm: mdss: handle continuous splash screen for dual DSI cases
In the current implementation, the continuous splash screen flag
is set based on whether there is handoff pending in MDP or not.
With the dual DSI use-case now in place, there is possibility that
the primary panel has continuous splash enabled whereas the other
panel doesn't have the feature enabled. Add change to take care of
this by checking if a particular interface is enabled in MDP_INTF_SEL
register to set the cont. splash screen flag. Remove the DT entries
for continuous splash screen since it is no longer needed after this
change.

Change-Id: I4d617386c8f5d166de76b79a10680d024320a889
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
[cip@codeaurora.org: Removed .dtsi changes]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:46:18 -07:00
Ingrid Gallardo
6ffee7b10f msm: mdss: debug: reduce xlog entries
Reduce xlog entries to prevent the messages
to flood the ramdump kernel log.

Change-Id: I72d9ac60df97f3f1ad4494c7a85e28d4b51c1779
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 20:46:17 -07:00
Veera Sundaram Sankaran
628abdbe09 msm: mdss: clear irq if RD_PTR intr is detected before clk disable
Before disabling the RD_PTR ISR and turning off the clks, there is a
possibility that some other CPU might have received a READ_PTR ISR few
microseconds before and started to process it. By the time, the ISR
reaches the register read instructions, the clks might be disabled.
To avoid such cases, check for the intr status after disabling the ISR
and clear the irq before disabling the clks.

Change-Id: If9f0e2df22ec7ea26d62b08c9364c2047dda8c51
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:46:16 -07:00
Padmanabhan Komanduru
1a66eac51e msm: mdss: handle ESD status for split DSI panels with broadcast mode
For split DSI panels when broadcast mode is enabled, the ESD status
check command needs to be sent to both the controllers at the same
time. Also, the status needs to be checked from the buffer of the
trigger controller. Add change to take care of this.

Change-Id: I47c8cacd657a4528d1859a34ba1d588a54357bb9
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2016-03-23 20:46:15 -07:00
Dhaval Patel
81f33f9772 msm: mdss: reset cdm pointer when ctl is destroyed
Control structure is reused between interface and
rotator. It may possible that rotator will reuse the
control data structure previously used by writeback
interface which has cdm block allocated. It is safe
to reset the cdm pointer during control free to
avoid cdm setup during writeback format setup in
rotator scenario.

Change-Id: I7bef9893d6034ac3985c8808a1defeb15f0cf3fd
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 20:46:14 -07:00
Dhaval Patel
4341a02ccc msm: mdss: fix cdm init error check in interface API
CDM block allocation failure returns error pointer.
Invalid check allows interface API to setup the block
and invalid memory access. This change fixes the check
for HDMI and WB interface.

Change-Id: Ib18b3db81fb5154bc1d19c11fc372da8babd4121
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 20:46:14 -07:00
Veera Sundaram Sankaran
ac512d61b7 msm: mdss: fix clk_init and panel_cfg sequence in ctrl_probe
Currently, there is a circular dependency between clk init and
panel_cfg. This is due to the shadow_clk init in clk_init which
depends on dyn_fps, a panel specific parameter and refresh_clk
in panel_cfg which tries to refresh the clks before the clks are
initialized. Decouple the dependencies and fix the sequence to
avoid unnecessary error logs.

Change-Id: Icbcd1030b7f72e5e551be864b667e97c938500d0
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
[cip@codeaurora.org: Resolved merge conflict]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:46:13 -07:00
Ingrid Gallardo
65015f871e msm: mdss: debug: add more debug bus test points
Add extra test point for the mdp debug bus.

Change-Id: Iaa91dbb2403e256c9cf5b995f44946b5e96a0789
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 20:46:12 -07:00
Benet Clark
a8d2bc0179 msm: mdss: Clear PP software state when fb device is released
The postprocessing software state retaining which features are enabled
needs to be cleared when an fb device is released. Otherwise, the PP
features will be reenabled the next time a fb device is opened, writing
stale configurations to the hardware which are no longer valid.

Change-Id: Ie02670b731a8a89fb578c16d545af5daa46f8c2e
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:46:11 -07:00
Benet Clark
5b73c7a4aa msm: mdss: Clean up histogram software state when FB device is released
When framebuffer device is released, the software state for the histograms
attached to that FB remains unchanged. During the release of FB resources,
the histogram state should be reset back to idle. This change adds that
support.

Change-Id: I0e9adcb5b98b8ea219c0bd5b0afa791f5820dc95
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2016-03-23 20:46:10 -07:00
Gopikrishnaiah Anandan
75d690232b msm: mdss: Change histogram states atomically
For dual DSI usecases histogram has to be collected from two dspp's
for a single frame. Once driver receives the histogram done interrupt
from all the dspp's attached to logical display it will notify the
driver clients. Driver client reads the histogram and then updates the
states of histogram to signal the driver to notify next interrupt.
State tranistions of histogram should be done atomically for logical
display to ensure that data is collected from the same frame

Change-Id: Iecdb3ca4bf7be406a37d0f7b8fe61feca7b973ef
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2016-03-23 20:46:09 -07:00
Dhaval Patel
a886940242 msm: mdss: dsi: track dsi errors to generate the panic
Generate panic if dsi controller receives configured
number of errors during specific time delta.

Change-Id: I590cf47931494c9e5dc6449bbb7e148624f89807
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 20:46:08 -07:00
Tatenda Chipeperekwa
c76b5e3acf msm: mdss: hdmi: check if hdcp2p2 app is present during hpd
Check if the hdcp2p2 app is present every time the hdmi cable
is connected. If the app is not present, then we consider
hdcp-2.2 as not supported on the target. This scenario occurs
on devices that are not hdcp-2.2 provisioned, and with this
change hdmi core continues in non-encrypted mode.

Change-Id: I72ebcc1e6844f46dbbc974efb6ba926948e1bbde
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-03-23 20:46:07 -07:00
Naveen Ramaraj
cc97a775f4 msm: mdss: Use clock safe wrapper for reading DSI hw version
Attempting to read without proper clock votes will result
in a unclocked access leading to a watchdog. Enable only
the DSI BUS clocks instead of all the DSI clocks while
reading the DSI revision register.

Change-Id: Ia83fda764d145e96d2df813379c57cf6529b1c0c
Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2016-03-23 20:46:07 -07:00
Terence Hampson
bc9915b818 msm: mdss: validate buffer size is enough for intended use
Make sure buffer size is enough for intended use, as soon as we
acquire buffer handle. Prior to this change validation was done
when mapping the buffer. Failing the validation at this later
point was resulting in a layer update drop, with no clean
way to handle the validation. By validating earlier, request
to commit the frame can fail and client can determine fall back
behaviour.

Change-Id: Ie14317c5d5125d6bd23fedfdbbaa877897f8786b
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2016-03-23 20:46:06 -07:00
Ajay Singh Parmar
0a6a08aeac msm: mdss: hdmi: separate out hdcp library from hdmi
Define APIs to start or stop authentication from client.
Handle internal states within HDCP library and do not
call HDCP library internal functions directly from client.
Remove unnecessary threads and locks and execute on same
thread as standard requires this to be processed sequentially.

Change-Id: I4cd924fb836e0e01ff1d6eba58d817fe0ca383e1
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
[cip@codeaurora.org: Snapshot hdcp.c/hdcp_qseecom.h,
add hdcp Kconfig/Makefile changes]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:46:05 -07:00
Veera Sundaram Sankaran
ca7626f43c msm: mdss: clear fbmem_buf on ion_free
Even after ion_free, fbmem_buf is not cleared and contains
some random address. fbmem_buf is assumed to be mapped, when it
is not NULL, which leads to issues. Assign NULL to fbmem_buf, as soon
as ion_free is done.

Change-Id: I712f64a31c8a555f793ff2dd5fc1dea4771c8d0e
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:46:04 -07:00
Ingrid Gallardo
ecdf76d648 msm: mdss: debug: fix xlog crash during dump
Fix to initialize the nodes added by the panel
data dump to the xlog linked list.
This resolves a crash when runtime dumping
the registers through xlog with the dump
debugfs node:
echo 1 > /d/mdp/xlog/dump

Change-Id: I2a7222bd10e5d5a53b20472fbfbc3db818897515
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
2016-03-23 20:46:03 -07:00
Dhaval Patel
be40fe4f65 msm: mdss: add nrt vbif register dump in xlog output
Add nrt vbif register dump in xlog output along with
realtime vbif.

Change-Id: I4b8b8f31be740dbe4ea0040104e1bdf43ed60eec
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
[cip@codeaurora.org: Resolved merge conflict]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:46:02 -07:00
Terence Hampson
44d7ea6ecc msm: mdss: rotator: validate degree of rotation
Validate the rotation degree in the request matches what has been
configured in the session.

Change-Id: I80080a4ad6417c374f9a0176f06a845aa96a24a4
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2016-03-23 20:46:01 -07:00
Benet Clark
0067dcdcd2 msm: mdss: Move PP reg bus vote to reg bus voting framework
There is a new framework for MDSS voting on the reg bus. However,
the postprocessing client was never registered, and therefore making
bus requests without the framework. This change moves the PP reg bus
voting to be a part of the MDSS bus voting framework.

Change-Id: I054b102baec0ccae56e7b9faafa8feadf3fc8d7a
Signed-off-by: Benet Clark <benetc@codeaurora.org>
[cip@codeaurora.org: Resolved merge conflict]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:46:01 -07:00
Terence Hampson
61a87e1821 msm: mdss: Add client name to register bus client handle
Add debug name to register bus client. This will help debug
issues that involved register bus client.

Change-Id: Ied505e5af9e09ba183c25340e6051214a93bc3d2
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2016-03-23 20:46:00 -07:00
Vineet Bajaj
d2736ae8fa msm: mdss: unregister wled in case of probe failure
If the DSI probe fails and wled has been registered, then
when the next time probe comes there are failures seen.
Fix this by unregistering the wled in case of DSI probe
failures.

Conflicts:
	drivers/video/msm/mdss/mdss_dsi.h
	drivers/video/msm/mdss/mdss_dsi_panel.c

Change-Id: Ia3fd2fa2b5f5bd446c15bc4c28602846f8540a68
Signed-off-by: Vineet Bajaj <vbajaj@codeaurora.org>
2016-03-23 20:45:59 -07:00
Terence Hampson
26ef443158 msm: mdss: rotator: deinterlace layer prior to rotation
Make use of the MDP_ROTATION_DEINTERLACE flag. By using the deinterlaced
flag we are able to properly read in the source layer for rotation.

Change-Id: Ia4198f228188975cfc6b57acecedb153c7234aa4
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2016-03-23 20:45:58 -07:00
Terence Hampson
cc7c1fe8ec uapi: msm: mdss: add flag to indicate if content is interlaced
When rotation session involves an interlaced layer that is intended to be
deinterlaced by MDP, client is expected to pass in flag indicating rotator
needs to deinterlace content.

Change-Id: I27c009e32cd82e00713c20b3accb2efbe5587344
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
2016-03-23 20:45:57 -07:00
Veera Sundaram Sankaran
483e0f3297 msm: mdss: add xlog to async position update ioctl
Add xlog to log the pipe ndx and layer count during
the async position update ioctl call.

Change-Id: Ic1d381e76d4894550a37210bbc4344dd614ac5fb
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:45:56 -07:00
Veera Sundaram Sankaran
e7969f16a0 msm: mdss: add additional ubwc data checks
In the current scenario, when the sizes of data plane 0 and
the plane 0 matches, the data plane configuration is skipped
to avoid configuring it all the time. Add additional checks
when we skip the configuration to make sure all the data
planes are configured correctly.

Change-Id: Ife7def6d97933732469c14f053b81da9d7661731
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:45:55 -07:00
Chintan Pandya
93a0f575cb iommu: Use proper bus for domain allocation in client drivers
When there are multiple IOMMU drivers in the system,
each one will be sitting on different busses. This
way, clients should be choosing the right bus to
declare their domain on. Once and for all, update
all the clients code to use proper bus abstraction
API msm_iommu_get_bus() to get right bus.

Change-Id: I5edf7037e7b1e4af6a559b6aeaa0b6de0976bf35
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
[cip@codeaurora.org: Removed changes to
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c,
drivers/media/platform/msm/camera_v2/common/cam_smmu_api.c,
drivers/media/platform/msm/vidc/venus_boot.c,
drivers/platform/msm/ipa/ipa_v2/ipa.c,
drivers/platform/msm/ipa/ipa_v3/ipa.c,
drivers/platform/msm/msm_11ad/msm_11ad.c]
Signed-off-by: Clarence Ip <cip@codeaurora.org>
2016-03-23 20:45:54 -07:00
Veera Sundaram Sankaran
605d27a6a2 msm: mdss: fix pipe_in_use to check layer extn registers
Previously, only the base mixercfg was used to determine if the pipe
is in use. The extn registers were not checked, resulting in faulty
checks for cursor and any pipe staged in stage6. Fix validation to
include checks for extn registers. And refactor, to get the mixer mask
from utility functions.

Change-Id: Id356fa3255d796abdc596cbfbae6604aa7cf57f0
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:45:54 -07:00
Veera Sundaram Sankaran
2fba6da0d5 msm: mdss: remove obsolete hw revision checks
Remove all hw revision checks related to REV_200 from
mdp driver.

Change-Id: I31c18b9c91eb93946f777a4b276aec6c999dd337
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:45:53 -07:00
Ajay Singh Parmar
3a62a31d44 msm: mdss: cdm: check for pixel drop need
Set pixel drop CDM down sampling for the resolutions which
do not support average filtering.

Change-Id: Iee767c95cc584ea5ea039993d284400c7bacfbcb
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2016-03-23 20:45:52 -07:00
Veera Sundaram Sankaran
ebfddf9b2a msm: mdss: fix dsi hw config string parsing
The dsi hw config is parsed from the string passed from bootloader.
It is parsed based on the delimiter ':', but when a panel is booted
in simulator mode, an additional override parameter prefixed with '#'
is passed from bootloader. Fix the parsing to account for the override
parameter when simulator panels are used.

Change-Id: Id9d7419179048d8b564efbbb8ea238d987d6a83c
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 20:45:51 -07:00