Commit Graph

382 Commits

Author SHA1 Message Date
LuK1337 18aceede84 Merge tag 'LA.BR.1.3.6-03910-8976.0' of https://source.codeaurora.org/quic/la/kernel/msm-3.10 into HEAD
"LA.BR.1.3.6-03910-8976.0"

Change-Id: I16643fc055aa2965fe5903396a8e5158c42cf1bc
2017-05-26 13:28:48 +02:00
Steve Kondik 2006fd744d video: mdss: Color temperature interface using PCC
* MDSS5 supports Polynomial Color Correction. Use this to implement
   a simple sysfs API for adjusting RGB scaling values. This can be
   used to implement color temperature and other controls.
 * Why use this when we have KCAL? This code is dead simple, the
   interface is in the right place, and it allows for 128X accuracy.

Change-Id: Ie17c84ee3c1092ea65804566bdf05326a34a6d4d

video: mdss: Report PCC values from pp registers

Other drivers write to these regs (KCAL, Sony) and other developers may
implement more than one driver. Make sure we are always reporting the correct
PCC values.

Change-Id: Id4a28602d6678d8032f1328c49163b52c15d52b1
2017-04-18 12:18:42 +02:00
LuK1337 4e71469c73 Merge tag 'LA.BR.1.3.6-03510-8976.0' into HEAD
Change-Id: Ie506850703bf9550ede802c13ba5f8c2ce723fa3
2017-04-18 12:11:50 +02:00
LuK1337 fc9499e55a Import latest Samsung release
* Package version: T713XXU2BQCO

Change-Id: I293d9e7f2df458c512d59b7a06f8ca6add610c99
2017-04-18 03:43:52 +02:00
Veera Sundaram Sankaran 145f222b04 msm: mdss: match pixclock calculation for videomode and fb var
When multiple panel timings are available and enumerating videomode
list, pixclock is calculated using htotal, vtotal and refresh rate.
But fb var struct is populated with actual pixclock value calculated
by DSI. This pixclock mismatch would cause issues, when usermode
does GET_VSCREENINFO/PUT_VSCREENINFO. Fix by using the same pixclock
calculation for both structures.

Change-Id: I42bfc40b5904ec80f20b296e3b4610ca3b2c5ee0
[veeras@codeaurora.org: Resolved conflicts in mdss_fb.c]
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
2017-04-11 16:30:40 +05:30
Naseer Ahmed e1a2b0a5b2 msm: mdss: Fix fence installation when retire fence is skipped
A previous change caused the release fence to not be installed
when the retire fence was skipped. Install the release fence
regardless of the retire fence status.

Change-Id: I13fa1e98984867d8a7d9d318ece8c1a2f1c726ed
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2017-03-20 20:59:32 -07:00
Naseer Ahmed 28e1b90067 msm: mdss: Install sync fences after user copy
If userspace closes the fd after an error on copying to
userspace, the fences may be freed incorrectly. Make sure fences
are installed after all checks pass.

Bug: 32402303
Change-Id: Ieb50296c87e09549db2734bd70bb6ee8d311ad40
CRs-Fixed: 2000664
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
2017-03-08 23:06:52 -08:00
Jayant Shekhar 8f0b2baca0 msm: mdss: Fix potential NULL pointer dereferences
Fix potential NULL pointer dereferences and uninitialized
variables in MDSS driver.

Change-Id: Ic1b53ed59814933c7ce5422b3f6493269b285352
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-09-20 12:55:01 +05:30
Abhijit Kulkarni cd9040e462 msm: mdss: hide kernel addresses from unprevileged users
for printing kernel pointers which should be hidden from unprivileged
users, use %pK which evaluates whether kptr_restrict is set.

CRs-Fixed: 987021
Change-Id: Ie49eee9478f4657cfb2a994ba60da1ec4c356339
Signed-off-by: Abhijit Kulkarni <kabhijit@codeaurora.org>
2016-09-12 02:10:01 -07:00
Krishna Srinivas 07479953a5 msm: mdss: Fix memleak in framebuffer register and remove
In FB registration, free allocated memory
if an error condition is hit. Also free
allocated memory in FB remove.

Change-Id: I533e2d6a760ebd52047c521c1a1e85bfc754fce1
Signed-off-by: Krishna Srinivas <krisrini@codeaurora.org>
2016-08-09 22:00:22 -07:00
Archana Sriram f04694347f msm: mdss: Notify backlight change in update backlight function
Notify backlight change to pp_bl_event in update backlight
function without condition. This helps certain daemons like
PPD to not miss the backlight update event upon resume.

Change-Id: I18bdef65c1242dc0e02de94b954c3d49ebaf3c22
Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
2016-07-30 03:07:24 -07:00
Shalini Krishnamoorthi 5b76fc045f msm: mdss: Correct the format specifiers in sscanf function
In many parts of the code the sscanf function was getting
an unsigned integer with a wrong format specifier. Changed
the format specifiers appropriately. Single variable sscanf
were replaced by kstrtouint at reported places.

CRs-Fixed: 1024872
Change-Id: I03ce718b0456d437d31d701586965d0aa7443b51
Signed-off-by: Shalini Krishnamoorthi <shakri@codeaurora.org>
2016-07-21 21:53:27 -07:00
Dhaval Patel 9ebe86d96c msm: mdss: fix backlight update between unblank and kickoff
The backlight update between unblank and kickoff
call may result in garbage/snow screen on panel
based on panel ram initialized status.

For ex:
  -> Unblank the panel - black frame transfer start,
                         panel is on but ram is still
                         uninitialized.
  -> backlight update - turn on the backlight. It will show
                        data from uninitialized ram because
                        frame transfer is not complete yet.

This can be avoided by blocking the backlight update
request between unblank and first frame kickoff. This
gives guarantee that panel has valid data to display
when backlight was turned on.

Change-Id: I09c707cd10acd53bd6aa0935885269ffc5aec649
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
2016-07-11 00:28:25 -07:00
Padmanabhan Komanduru 774d84ac4e msm: mdss: update backlight during unblank for ESD recovery
For a few panels where the Post Init Delay DT property is set,
the backlight is not updated during unblank since it needs to be
done after frame commit. But, for ESD recovery cases, the framework
might not update backlight after a frame commit. Add change to make
sure backlight is updated during ESD recovery in unblank path.

Change-Id: Id6cec15bda0b05d2fe8e158d605d79a8fd423ceb
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2015-10-27 00:12:35 -07:00
Kalyan Thota 109c16d7c2 msm: mdss: trigger idle fallback when no update due to touch
Trigger an idle fallback with a reasonable timeout value when
there is no update despite of a touch event. This will reset
the refresh rate to min fps.

Change-Id: Icfeba52da7fe950525258723d6475e7dede3f631
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
2015-10-15 15:37:19 -07:00
Krishna Chaitanya Devarakonda 407a1004a8 msm: mdss: store cont splash flag in fb var struct
Store the continuous splash state in the fb var struct,
so that recovery/other processes can check if the continuous
splash is enabled or not before perfroming a blank/unblank.

Change-Id: Ieee9a7450c607666c2888df95ed3fc6a0ad286ae
Signed-off-by: Krishna Chaitanya Devarakonda <kdevarak@codeaurora.org>
2015-08-05 19:47:46 +05:30
Kalyan Thota 00167b8f44 msm: mdss: use touch event trigger to update fps
During idle fallback, mdss driver will configure min fps
to the panel and in the next composition cycle it will
reset it to the requested fps, this will result in latency
for first frame update.

For the usecase, where touch triggers the update, this
latency can be alleviated by updating the fps during touch
so that there is no extra wait during commit.

Change-Id: I625785d27da0b485877488e4586f6a9336081a47
Signed-off-by: Kalyan Thota <kalyant@codeaurora.org>
2015-07-27 13:20:06 -07:00
Vishnuvardhan Prodduturi 722e939984 msm: mdss: expose pingpong split info via sysfs
Expose pingpong split info to userspace via sysfs. This info
can be used to do ROI alignment for Partial update use cases.

Change-Id: Ifb165944b1725f4299e34068b67926785def032c
Signed-off-by: Vishnuvardhan Prodduturi <vproddut@codeaurora.org>
2015-07-25 04:53:23 -07:00
Jayant Shekhar 85b6e26a32 msm: mdss: Update backlight during unblank if required
Some panel don't require backlight to be updated during
unblank and only require update upon first commit. Based
on panel parameter perform the backlight update.

Change-Id: I43f33505be5151640ad7dc2ee1a14df8a55a6dfe
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2015-07-22 18:35:19 -07:00
Linux Build Service Account d6c716e0a0 Merge "msm: mdss: reset backlight scale variables on framework reboot" 2015-07-21 09:19:59 -07:00
Krishna Chaitanya Parimi 6f744e1e68 msm: mdss: reset backlight scale variables on framework reboot
On framework reboot the backlight scale variables are not reset.
Hence after the framework reboot when backlight altering modules
restart there can be a very likely scenario for a flicker. Hence
reset the scale variables prior to shutdown. This would allow
the variables to be in reset state if case is a framework reboot
and not shutdown.

Change-Id: I9796c8b7abc34daca4ce0ee0ff1641517fb3d06f
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
2015-07-19 10:44:41 -07:00
Aravind Venkateswaran 0ac64c89a8 msm: mdss: specify unique name for panel debugfs directory
For dual DSI board configurations with independent displays,
the debugfs directory needs to be created for both panels.
Use unique directory names for the debugfs node.
Also add a NULL check before dereferencing debugfs_info in
debugfs initialization function to avoid crash, if in case due to
some reason creation of debugfs directory fails. With this change,
the debugfs directory will have the following structure:

For Split-DSI:
/sys/kernel/debug/mdss_panel_fb0/intf0 (assuming fb0 device node)
/sys/kernel/debug/mdss_panel_fb0/intf1 (assuming fb0 device node)

For Dual-DSI with independent displays:
/sys/kernel/debug/mdss_panel_fb0/intf0 (assuming fb0 device node)
/sys/kernel/debug/mdss_panel_fb1/intf0 (assuming fb1 device node)

For Single-DSI:
/sys/kernel/debug/mdss_panel_fb0/intf0 (assuming fb0 device node)

Change-Id: Ic98d0d662932223828c41511c51cb4a0dda42bb2
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
2015-07-19 05:23:27 -07:00
Ajay Singh Parmar c997f23eb0 msm: mdss: cec: hdmi cec refactoring
Define CEC on/enable functions in DBA (Display Bridge Abstract) so that
clients can enable disable CEC based on other dependent CEC modules.

Provide CEC supported flag in panel information data so that different
display modules can identify if a particular interface supports CEC
or not.

Separate out CEC abstract data with CEC driver data and initialize and
release corresponding modules properly.

Change-Id: I84f53d99547dcd4ce0b8275401b03ed8e96e14d5
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2015-06-30 16:03:37 -07:00
Linux Build Service Account 81265c2192 Merge "msm: mdss: fix backlight issue on blank-unblank" 2015-06-09 13:05:00 -07:00
Shivaraj Shetty 472e67187f msm: mdss: fix backlight issue on blank-unblank
In charging mode if charging code is not updating
the backlight then backlight will be turned off in
blank call and will not be turned on again on unblank.
Same is seen during ESD recovery. Set the unset
backlight level to the current backlight level during
blank so that after unblank, on first commit the
backlight value is restored. Also initialize the
brightness level to half of the max brightness.

Change-Id: Iee29b00a5e0fbbd4fee9d2c0dae1a40222b43939
Signed-off-by: Shivaraj Shetty <shivaraj@codeaurora.org>
2015-06-05 12:48:49 +05:30
Krishna Chaitanya Parimi daeb652a89 msm: mdss: remove notify update ioctl implementation in driver
The notify update ioctl implementation is being switched to a
sysfs based interfaces. The show_blank_event sysfs can be used
to check the update and suspend cases. The no-update case is
no longer required by userspace hence removing it. The power
off completion can also make use of the suspend case of sysfs.

A new backlight notification for ad_bl_level and bl_level is
being added to support polling for their updates from userspace.

Change-Id: Ib7a27d8057037067b4c2eb416c696e4a5ebe5f1d
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
2015-05-29 12:37:52 +05:30
Krishna Chaitanya Parimi 8c32f02c08 msm: mdss: tie histogram collection to commit with irq mask/unmask
Histogram collection needs to be tied to commit. Clients utilizing
histogram collection would program the PA LUT after software
processing of the histogram. The PA LUT would only take effect
over a CTL flush, which needs to be done over a commit call. So
histogram collection is now also tied to commit.

Histogram irq is enabled and disabled as per following:
1. Histogram irq enablement and disablement to tie it to commit
   is only done if that particular histogram block was first
   enabled using call to start histogram.
2. Histogram irq is set during commit to get the interrupt.
3. Histogram irq is disabled during the second consecutive
   interrupt handler call for a particular block without any
   commit call in between the two interrupt handler calls. This
   is due to the following.

Fig: Timeline of vsyncs, commits and histogram collections
               h0           h1           h2           h3
|------:-----|-^----:-----|-^----------|-^----:-----|-x----
v0     c1    v1     c2    v2           v3     c4    v4
 <----f0----> <----f1----> <----f2----> <----f3----> <--f4-

v0 - v4 are vsyncs,
c1 - c4 are commits,
h0 - h3 are histogram collections
f0 - f4 are frames being fetched in pipes  over the timeline.

The frame f0 is being fetched through the pipe after v0 till v1,
because of which histogram for it is collected at h0 after v1.
Similarly for frame f1 the histogram h1 is collected after v2.

If we were to disable histogram irq right after histogram interrupt
say h0, then we will not be able to re-enable it till v2 (next
vsync in timeline). So we would not be able to collect the h1
histogram for frame f1 being fetched during v1 to v2. So we will
be collecting alternative frames at best.

If instead we disable histogram irq after two consecutive
interrupts without a commit in between then we would not miss h1,
and would disable after h2. After h2, c4 would arrive but that
re-enables irqs at v4. However the frame being fetched during
this time (from v3 to v4) is f3, which is same as f2 as no commit
came in between. So we would miss out on h3 for f3 which is
correctly omitted.

Change-Id: I75be1651a3842f004c07f2ce8a5ea2bed476b64e
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
2015-05-27 11:55:11 +05:30
Linux Build Service Account d424b8ae1d Merge "msm: mdss: rotator: ignore panel status for rotator fences" 2015-05-23 05:29:50 -07:00
Linux Build Service Account 505f4eb69c Merge "msm: mdss: add support for pluggable interface" 2015-05-23 05:29:47 -07:00
Aravind Venkateswaran a964795be4 msm: mdss: restore backlight level when recovering from ESD attack
When ESD related panel failures are detected, the recovery process
involves blanking and unblanking the panel. In such cases, it is
required to restore the backlight level as there may not be an explicit
call from the userspace to update the backlight.

Change-Id: Idd84a628cf2a1e37121b94d3c5cc11d45a78fdab
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2015-05-20 19:08:28 -07:00
Linux Build Service Account c8475e51a5 Merge "msm: mdss: reset panel when wait4pingpong timeout is received" 2015-05-19 14:55:47 -07:00
Ajay Singh Parmar 9124fa30a2 msm: mdss: add support for pluggable interface
Add pluggable information into panel info to let other modules
know that this interface supports HPD (Hot Plug Detect) and can
be dynamically connected or disconnected.

Change-Id: I8322b60c337cd2f46a4a500ad1a6083875f6206b
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2015-05-18 14:49:24 -07:00
Adrian Salido-Moreno a9f1bb8624 msm: mdss: rotator: ignore panel status for rotator fences
In case of rotator buf sync ioctl, the ioctl could be called on
frame buffer device for which panel is off. However rotator sessions
may still be active. In such cases the call shouldn't fail, thus move
check for panel off only when the target sync fence timeline is for
the panel.

Change-Id: Ice4557fcbe82df2761c65f67a0bf81a2d72fde75
CRs-Fixed: 837945
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2015-05-18 12:30:37 -07:00
Linux Build Service Account e302361456 Merge "msm: mdss: add support to register secondary fb on DSI1 device" 2015-05-15 22:14:47 -07:00
Jeevan Shriram 6d425ae73c msm: mdss: reset panel when wait4pingpong timeout is received
Due to various reasons wait4pingpong timeout can be observed and
this usually results in split screen behaviour for the end user.
Split screen is manifested because for a given frame only half of
the pixel data was sent and then some kind of hang was observed.
So unless the panel and display pipeline is restarted, next frames
will start from the location where it hanged. Improve user behavior
by reseting the display pipeline including panel by sending panel
dead event to user-space. Upon receiving this event user-space should
issue blank and un-blank which should recover the display pipeline.

Change-Id: Iec674a61229cbc037d24cf4f62ceb02a977b219c
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: Naseer Ahmed <naseer@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
2015-05-14 16:40:27 -07:00
Padmanabhan Komanduru de69432ab0 msm: mdss: add support to register secondary fb on DSI1 device
In the current implementation, DSI1 device is always mapped
to frame buffer 0. For dual DSI configuration, we need to
register DSI1 device to a separate frame buffer. Add driver
and dtsi support to register DSI1 device on primary/secondary
frame buffer runtime based on the DSI configuration.

Change-Id: Iac872723711c5d0264088c4f3b53d1385fd9ffe0
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2015-05-14 15:15:27 +05:30
Krishna Chaitanya Parimi bfd18c2555 msm: mdss: cancel AD calc work and destroy workqueue at power off
The queued work for an iteration of pp_ad_calc_worker might run
post the final fb release call. This can cause NULL pointer
dereferences. Now cancelling the pending AD calc work and
destroying the workqueue upon shutdown call to prevent any
such scenarios.

The vsync handler would continue to work until a call for
POWERDOWN arrives from userspace post shutdown notification.
So vsync handler might continue to queue work regardless of
existence of AD workqueue. Preventing this by checking the
ad state to see if shutdown has been set. If shutdown is set
then we do not queue AD calc work. The shutdown mask will be
set in state during a call to fb shutdown.

Change-Id: I10b6f3001b49b010eb4ca52d3b0dc03b2f7c190c
Signed-off-by: Krishna Chaitanya Parimi <cparimi@codeaurora.org>
2015-05-08 16:08:37 +05:30
Adrian Salido-Moreno 0ae8cba9be msm: mdss: ctl: fix mixer allocation logic
Current mixer allocation logic does initialization only if the mixer is
part of the mixer pool, however code has additional path for alternative
mixer which is not being initialized. Also don't need to reallocate the
mixer if it's already allocated in case of split display.

Change-Id: I1dbbbb86096c4825d214755d9cc7bf81b2abbbc8
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2015-05-02 00:14:53 -07:00
Linux Build Service Account f0408f708b Merge "msm: mdss: Add separate backlight notify update for AD attenuation" 2015-04-28 06:29:28 -07:00
Linux Build Service Account 8fc3a7b99b Merge "msm: mdss: wake up threads relying on shutdown notice" 2015-04-26 02:29:49 -07:00
Linux Build Service Account 2ebbbda6e7 Merge "msm: mdss: handle timeouts from pan_idle and wait_for_kickoff" 2015-04-25 12:17:53 -07:00
Linux Build Service Account 7423f10263 Merge "mdss: fb: wait for idle only on last fb release" 2015-04-25 12:17:52 -07:00
Vineet Bajaj 3e420eb8fa msm: mdss: recovery mode issue with JDI 5.5' panel
When continuous splash is on blank call from recovery
module returns early. But AFE/touch driver on getting
blank event can go ahead with disp enable and reset GPIO
toggling which will result in bad DSI state.
To fix this, expose an API from display to return continuous
splash flag.

Change-Id: I6ecc9b969fb74bddacb86277e24500b7f215fdd4
Signed-off-by: Vineet Bajaj <vbajaj@codeaurora.org>
2015-04-23 18:02:53 -07:00
Ujwal Patel b54c14cc59 msm: mdss: handle timeouts from pan_idle and wait_for_kickoff
mdss_fb_pan_idle and mdss_fb_wait_for_kickoff are used to hold the
current context until it is safe to proceed. Unless shutdown is going on,
these contexts are woken up by corresponding display thread responsible
for committing a frame to display. Display thread has various delays like
waiting for fences to be signalled, waiting for previous frame to finish
or waiting for a vsync etc. Under normal circumstances, these delays are
very negligible and different threads work in good harmony. However in a
heavily loaded system or some bad thread which disables interrupts for a
long time, these delays can become very large. Increase timeout to
arbitrarily derived value and add error messaging when the timeout is
observed. Remove panic from the timeout to let the system recover by
itself.

Change-Id: I58fe4c0d8b0c43998f87384035a1eacc24d7230a
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2015-04-23 11:50:28 -07:00
Adrian Salido-Moreno 3d93832221 mdss: fb: wait for idle only on last fb release
There could be multiple references to the framebuffer, when
releasing the last one the panel should be blanked. When blanking the
panel we should make sure that panel update has finished (wait for panel
idle), however this wait should be done only if it will lead to a
change in the panel. Avoid this wait if there are more than one ref
counts which means that panel won't be blanked.

Change-Id: I22ffd25cfc6d0512d006a979613610314772a27e
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2015-04-23 09:44:30 -07:00
Ujwal Patel eb8d8965d1 msm: mdss: wake up threads relying on shutdown notice
In the current framebuffer driver, user context may be put to sleep
to serialize certain operations. These contexts are woken up on certain
conditions, one of which is system shutdown notification. Current api
used, wait_event_timeout, relies on wait queue to be woken up if any
variable that could change the result of the sleep condition. So when
shutdown context is active, it needs to wake up threads waiting on
shutdown notification else they will timeout and may delay the shutdown
process.

Change-Id: I11b97e4c65b434c5f35d455a5040f407a1460516
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
2015-04-21 18:33:06 -07:00
Benet Clark 399a7d918d msm: mdss: Add separate backlight notify update for AD attenuation
Currently, there is only one type of backlight notification for
post-processing and it is completed only when AD is enabled and the
AD attenuated backlight changes. The PPDaemon needs a notification
for general backlight updates for CABL. This change adds separate
backlight notify updates for AD attenuated bl changes and regular
bl changes.

Change-Id: Ie35cdcf3f9f58d9678774e0d976c662fc4ea739f
Signed-off-by: Benet Clark <benetc@codeaurora.org>
2015-04-21 10:50:56 -07:00
Linux Build Service Account fc0723d807 Merge "msm: mdss: fix issue with DSI probe deferral" 2015-04-16 22:27:36 -07:00
Vineet Bajaj 5a919cc529 msm: mdss: fix issue with DSI probe deferral
If, for some reason, DSI probe gets deferred, then WB/HDMI gets
FB0. Userspace operates thinking FB0 as primary and gets stuck
in bad state. Fix this by deferring the probes for WFD/HDMI also
in case of DSI Probe deferral.

Change-Id: If793ce22aeffafc64df5e56b76a0f27c38e6240d
Signed-off-by: Vineet Bajaj <vbajaj@codeaurora.org>
2015-04-10 15:34:46 +05:30
Dhaval Patel 5a53ecfd49 msm: mdss: fix ret value during error case
Fix ret value for error case in framebuffer
allocation api and use integer instead of
unsigned int for sscanf api.

CRs-fixed: 790640
Change-Id: Ib7fa217334365b8194571e220740a769597636e0
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2015-04-04 10:31:30 -07:00