Commit graph

568274 commits

Author SHA1 Message Date
Sudheer Papothi
5843838a49 ASoC: wcd9335: Re-align ANC co-efficient pointers for EAR path
Re-align ANC(Active Noise Cancellation) co-efficient pointers for
ANC functionality to work properly on EAR path.

Change-Id: Ied6f3372e2172c9205478e807a1b42510bf49505
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:13:15 -07:00
Bhalchandra Gajare
c2c5e11c28 ASoC: wcd_cpe_core: Mark functions as static
Some of the functions that are supposed to be static are not declared to
be static. Cleanup the driver to make sure all functions specific to
this file are marked as static.

Change-Id: Ie2e0a7a1df5d49e8b6ed2af90b1a727e5c08746d
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:13:14 -07:00
Bhalchandra Gajare
159c5b3b4a ASoC: wcd_cpe_services: Clear internal state before notifying clients
When CPE services notifies the client that response to any message is
received, it is possible that the client may send another message even
before the CPE services cleared the current message response as these
both are run in different thread contexts, this will cause the command
queue to be corrupted. Fix this issue by clearing internal state of CPE
services command queue before notifying clients the clients the result
of message transfer completion.

CRs-fixed: 946375
Change-Id: I4b31201747edd7fdee57294ff559ccb21e582608
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:13:13 -07:00
Bhalchandra Gajare
341a164794 ASoC: wcd_cpe_core: Fix race conditions during message transfer
Currently, it is possible there could be race condition when there are
multiple messages to be sent to CPE. Add changes to fix the possible
race conditions.

CRs-fixed: 946375
Change-Id: I6a290c00b08fa3afc64acf40cd339a0203f73d96
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:13:12 -07:00
Phani Kumar Uppalapati
12c198132e ASoC: wcd9335: Notify channel count to soundwire master
Notify channel count to soundwire master so that
it can use broadcast command to configure the slave
devices whenever channel count is greater than 1.

Change-Id: I0cb80ebe84e6010f9ea54d73eacf0e8f2782b724
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
2016-03-23 21:13:11 -07:00
Sudheer Papothi
fa92c7f037 soundwire: Use broadcast command for device configuration
Use soundwire broadcast command for configuration of all slave
devices simultaneously. This change improves latency during
slave devices configuration.

Change-Id: Ie2985e444e4aa1128856dc6ae372f8f4cca943de
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:13:11 -07:00
Sudheer Papothi
7b9c5205f5 soundwire: Add support to use group id for slave devices
Devices with the same group id or broadcast command can be
configured simultaneously. This will help improve the latency
during device configuration. Add support to use group id
for slave device configuration.

Change-Id: I5e86e61a0b5223de6c6471f3f342fe1f387d81ef
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:13:10 -07:00
Bhalchandra Gajare
f95641a7b7 ASoC: msm-cpe-lsm: Improve handling of errors during buffering
The channel setup errors are not handled in some cases, add fix to
handle the errors gracefully for look ahead buffering.

CRs-fixed: 943741
Change-Id: Ifbaf8a05e0e1f4c7e099a1664e914d430345ee37
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2016-03-23 21:13:09 -07:00
Rajesh Bondugula
a6aba90ff8 msm: camera: sensor: Execute delay operation
Execute delay operation in actuator.
Return failure if any i2c operation fails in
actuator.

Change-Id: I47089863595db416c678c783069a21d9c13b3044
Signed-off-by: Rajesh Bondugula <rajeshb@codeaurora.org>
2016-03-23 21:13:08 -07:00
Ram Chandrasekar
ae0367e557 thermal-core: Use rcu when accessing threshold list
Threshold list will be read in interrupt context. Using
a lock in the interrupt context is not acceptable, but the
list traversal needs to be protected. Because the threshold
list can be updated with a new threshold or an existing
threshold can be removed. Doing a list traversal during the
list mutation may result in unassigned memory access
violation. Use of list_for_each_entry_safe() function for
traversing, won't help. Because this function can help
only if the traversal loop removes the current element, that
is pointed by this iteration.

Use rcu to ensure a safe list traversal without a lock.
Addition or deletion to the threshold list is an infrequent
operation when compared to the threshold list read, which
happens when temperature threshold trips. Using rcu ensures
that read operations are done faster without getting
blocked by a lock and the list write operations are done
in a list safe fashion. Replace the list_for_each_entry_safe()
function with rcu safe list traversal function
list_for_each_entry_rcu(), wherever it is applicable.

Change-Id: I7636711bfc6bd63fe3adaad38a5471e3508e240b
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-03-23 21:13:07 -07:00
Amir Samuelov
95039b1403 include: uapi: add spcom.h to Kbuild
Add spcom.h header file to the copy list, to be available for user space.

Change-Id: Icafff242dd7b14094cb4ec846c20c8206a6bf9ce
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
2016-03-23 21:13:06 -07:00
Ram Chandrasekar
08e81f9add msm: thermal: Use the new device framework API
Modify the thermal driver to use the new device framework API
instead of the cpu_up/cpu_down call. The new framework API, will
keep the online/offline value reported in sysfs in sync with the
actual core status. Bypassing this framework by using cpu_up/cpu_down
will not update the value reported in the sysfs.

Also protect the device framework APIs with device hotplug lock to
provide mutual exclusion between multiple drivers using the same API.

Change-Id: I55e578ec6afdcdd7537ff7afc411bd03f277d59e
Signed-off-by: Ram Chandrasekar <rkumbako@codeaurora.org>
2016-03-23 21:13:05 -07:00
Sathish Ambley
f321ad7eef ARM: dts: msm: Update with correct SID for LPASS on msm8996
SID entries 13 to 15 are reserved and only entries from 5 to 12
are assigned for compute tasks. Trying to use SID entries from
13 to 15 when mapping the entries in SMMU could result in faults.
Update the device tree entries to use the correct set of SIDs.

Change-Id: I0033985f0a786fd4df19a1d83715781b2d5d0bd6
Signed-off-by: Sathish Ambley <sathishambley@codeaurora.org>
2016-03-23 21:13:05 -07:00
Skylar Chang
48b6c52629 msm: ipa3: fix event ring allocation for PROD
Do not allocate event ring for non interrupts pipes.
These pipes receive completion from their
status notification pipe.

Change-Id: I9ae96440ed479888e2f974f2143ddd275f8afbb2
Acked-by: Ady Abraham <adya@qti.qualcomm.com>
Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
2016-03-23 21:13:04 -07:00
Laxminath Kasam
6d4b0deeb6 ASoC: audio: update API name for populate upper 32bits
In audio ion driver, append msm_audio_ to API
populate_upper_32bits to maintain consistency
across other API names in this driver.

Change-Id: I72aace56bf8e80c6dd83f768876253d2c7f334bb
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-03-23 21:13:03 -07:00
Jayant Shekhar
e58f908e4c mdss: mdp: Create virtual wb mixers for rotation if not available
Create virtual wb mixers to support rotation, if no matching
mixers are available in the model. The number of virtual mixers
is equal to the number of DMA pipes available for rotation.

Change-Id: I3f4df3175595168d55373eb91e5cd05ef5f65919
Signed-off-by: Jayant Shekhar <jshekhar@codeaurora.org>
2016-03-23 21:13:02 -07:00
Vinayak Menon
588411ea51 mm: swap: fix swapcache usage for fast swap devices
1) The swap readahead algorithm need not be applied for fast swap
devices like zram.
2) Code to set SWP_FAST is placed incorrectly, resulting in the flag
not being set.
Fix these to reduce the swapcache usage.

Change-Id: I23d9af5819f4b25f90f14a12657fa19ed401fb2a
Signed-off-by: Vinayak Menon <vinmenon@codeaurora.org>
2016-03-23 21:13:01 -07:00
Rupesh Tatiya
6d7af116f2 bluetooth: wait for write_work from protocol layer to finish
Simplify the line discipline close function. The write work in line
discipline might be called from three places - namely tty driver, hci
device and protocol. During line discipline close, stop hci device and
protocol layer from submitting new work. Then perform cancel_work_sync.

Further, protocol close will free protocol device but it can referenced
in work handler. Use a lock at line discipline (parent of protocol) to
prevent NULL pointer dereference.

Change-Id: I96137194873627ce9e1c72e5883e7e45cd01842a
Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
2016-03-23 21:13:00 -07:00
Padma, Santhosh Kumar
fdffe2c952 wcnss: Expose dump stack functionality
Add changes to expose dump stack functionality which can be used
by driver to dump stack information when it requires.

CRs-Fixed: 943322
Change-Id: I0fde7142dea2c18daf6b1fb0c5ee4bb8a31a6be0
Signed-off-by: Padma, Santhosh Kumar <skpadma@codeaurora.org>
2016-03-23 21:12:59 -07:00
Shashank Mittal
41778206e4 ARM: dts: msm: force register dump during tmc enable
Enable force-reg-dump to save tmc registers in memory dump at the
time of tmc enable, so that they can be extracted for debug purpose even
if they get reset on a crash.

CRs-Fixed: 945264

Change-Id: Ibd817bd79383d7df0aaee7b15694800732fdb74e
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
2016-03-23 21:12:59 -07:00
Nikhilesh Reddy
4223684cd8 ubi: Add scrub_all support to UBI
The data on NAND parts degrades overtime. This is known as data decay.
This decay is accelarated by extreme temperatures.

When data on nand is read over and over again this can also cause decay
of data. This is known as read disturb and can degrade the data in
the page/block that is read and the adjacent cells as well.

This data degrade can be corrected to a certain degree by the nand
driver/controller using the ECC but this is not sufficient specially
in products designed to last years.

The only way to combat the decay is to "refresh" the data by moving it
to a new location.

Add scrub_all support to UBI to facilitate the data refresh.

Change-Id: Ifafb82fe4ddb7120277dcfbbff79b3e087ca344d
Signed-off-by: Nikhilesh Reddy <reddyn@codeaurora.org>
2016-03-23 21:12:58 -07:00
Dhaval Patel
d0d79bf6f7 msm: mdss: generate panic if HW recovery fails during underrun
HW recovery is triggered when underrun happens. If pipe
XIN halt status is checked during the recovery time frame, it
would fail as the hw is in the recovery process. Check for the
ctl reset status before every frame update and if it is set,
add the same polling mechanism used while sw reset is triggered
to ensure hw reset is complete before checking the pipe status.
And add panic if hw fails to recover within the max polling time.

Change-Id: Ia672195b519e76bc4560d4555222c26fde094a64
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
Signed-off-by: Veera Sundaram Sankaran <veeras@codeaurora.org>
2016-03-23 21:12:57 -07:00
Jing Zhou
7dc67b0f2a msm: camera: isp: Process pagefault in callback function
Process an IOMMU pagefault in callback function instead of queueing
a tasklet. Also, in case of dual vfe halt the other VFE as well
if pagefault occurs on 1 vfe.

Change-Id: I86a9745f004c7891373709459ca98193a13f0f62
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
Signed-off-by: Jing Zhou <jzhou70@codeaurora.org>
2016-03-23 21:12:56 -07:00
Sudheer Papothi
38afeba1a6 ASoC: wcd9335: Increase slimbus clock gear during device path bringup
Increase slimbus clock gear during device path bringup for faster
execution of register read and writes. This will improve the
latency during device path bringup.

Change-Id: I3118eecde7dd8e90fff05a6e0c6efa4052013a44
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:12:55 -07:00
Sudheer Papothi
7f81f92c5a Revert "ASoC: wcd9335: Increase slimbus clock gear to reduce cold start latency"
This reverts commit dac17fb61688 ("ASoC: wcd9335: Increase slimbus clock
gear to reduce cold start latency").
This change is not needed as pre and post dapm events are getting
called even for front end dai links which results in latency
during device path bringup.

Change-Id: I3f35317bc11aec100fbcc1f9304bc23a97c7c39a
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 21:12:54 -07:00
Vinu Deokaran
29714d6cc7 msm: mdss: enable hpd by default if it's not pluggable
If HDMI is configured as non-pluggable, enable the HPD by default
in order to bring up full HDMI functionalities.

Change-Id: Ibbe3b55c5eb93b055455ab461cea11b73a1b514d
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23 21:12:53 -07:00
Vinu Deokaran
f359bfb6ab ARM: dts: msm: disable pluggable feature for auto dragonboard
Disable HDMI hotplug feature for auto dragonboard. It's hard wired
for this platform.

Change-Id: If8bab4064eb0cb535656f05233b0415ee2549bb9
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23 21:12:52 -07:00
Vinu Deokaran
193c4424d2 ARM: dts: msm: add pluggable support for hdmi tx
Support hotplug feature for HDMI TX for all of the targets.
It's a feature supported by default.

Change-Id: I0af26695bef2f01f6f40e345d921bf2372df7f49
Signed-off-by: Vinu Deokaran <vinud@codeaurora.org>
2016-03-23 21:12:52 -07:00
Lakshmi Narayana Kalavala
9aeb820a3f ARM: dts: msm: camera: Add regulator names and bus vectors in cpp node
The bus vectors are statically setup in cpp driver which is not
portable on non-msm platforms. Hence add the vectors in dtsi node
where the vectors can be setup with the bus routine
msm_bus_cl_get_pdata dynamically.

Change-Id: Ia1be07d7ad6542048ec8e20f3403f04a17cf4f9c
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2016-03-23 21:12:51 -07:00
Yeleswarapu Nagaradhesh
2b7260c155 ASoC: wcd: add support for wcd9326 codec
Use efuse register values, to differentiate between
wcd9326 and wcd9335 codecs.

Change-Id: I68e7ae5eb1717dccd0af975670ac3644304996b9
Signed-off-by: Yeleswarapu Nagaradhesh <nagaradh@codeaurora.org>
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
2016-03-23 21:12:50 -07:00
Simmi Pateriya
433d226263 ASoC: wcd: set maximum limit for impedance for lineout detection
Due to slow insertion of headset, it can get detected as headphone
momentarily and the impedance is also very high which makes the
headset to be detected as lineout. Set a maximum limit for impedance
and do not report it as lineout in report plug if the value is very
high.

Change-Id: I3257c8f117fdb596a4aa9e743d39d517ad109c79
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
2016-03-23 21:12:49 -07:00
Sarada Prasanna Garnayak
75409992a4 net: cnss: disable CNSS flag for CNSS SDIO
Disable kernel config flag CNSS for SDIO based interface
to avoid compilation in wlan host driver.

Change-Id: I318148f467c3b313d4a0c94cba651d56787846d9
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
2016-03-23 21:12:48 -07:00
Jeremy Gebben
ea4e77c42f msm: kgsl: include header dependencies
Include the dependencies rather than relying on 'something else'
to include them.

Change-Id: I472e8f4abbc3d54904f441d42f2e7cb38bc413d0
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2016-03-23 21:12:47 -07:00
Ravi Gummadidala
a84709ff54 ARM: dts: msm: Advertise SG support by rmnet_ipa on msm8996
This is needed to enable GSO (Generic Segmentation Offload).

Change-Id: Ide202137a6fc37496a2bf9a5bde86117f20ae2bc
Signed-off-by: Ravi Gummadidala <rgummadi@codeaurora.org>
2016-03-23 21:12:46 -07:00
Kranthikumar Kurapati
fe90a105fb crypto: msm: qcrypto: Provide fallback for aead aes192
Crypto 5 HW does not provide aes 192 function. aes 192 fallback function
has been in place. The fallback for authenc(hmac(sha256),cbc(aes)) and
authenc(hmac(sha1),cbc(aes)) are provided now in the qcrypto driver.

Change-Id: I2c61b6df12f3a4b40e0e13170a803c44270db5cf
Acked-by: Che-Min Hsieh <cheminh@qti.qualcomm.com>
Signed-off-by: Kranthikumar Kurapati <kkurap@codeaurora.org>
2016-03-23 21:12:46 -07:00
Amir Levy
6f4bd0df93 msm: ipa3: fix memory leak in __ipa_reap_sys_rt_tbls
__ipa_reap_sys_rt_tbls always deletes a routing table from
head_rt_tbl_list, but it releases the routing table memory only if
it matches the rule type (hashabale\ non hashable). This function was
called twice each time with a different rule type, therefore if a DMA
memory was allocated for the non hashable type, calling the function for
the hashable type first will delete the routing table entry and the
next call will not release the memory.
This change releases the memory for both rule types and only then deletes
the routing table entry.

Change-Id: Id7f655b324a20c9681a3c48877d825929bc205aa
Signed-off-by: Amir Levy <alevy@codeaurora.org>
2016-03-23 21:12:45 -07:00
Abhishek Kondaveeti
84bc8318a4 msm: isp: Fix composite interrupts and offline config
1. Remove composite interrupt configuration as VFE1
   registers are double buffered.
2. Change fetch engine configuration

Change-Id: Ia5fa4ed17c62d9cf100dddf52575eda2d7805a4f
Signed-off-by: Abhishek Kondaveeti <akondave@codeaurora.org>
2016-03-23 21:12:44 -07:00
Mao Li
eebc02c8a3 ARM: dts: msm: adjust virtual key map for msm8996 dtp
The virtual keys KEY_MENU/HOME/KEY_BACK are incorrectly defined
for msm8996 dtp. Exchange the positions of these three virtual
keys for a correct operation of the device.

Change-Id: Ifd2a00291a9fcb195ac270ea85fd134e82ff5082
Signed-off-by: Mao Li <maol@codeaurora.org>
2016-03-23 21:12:43 -07:00
Anna Hanna Sedlak Grinbaum
7447a8033c ARM: dts: apq: Fix configuration of DSI panel on SBC8096
Fix DSI panel configuration for SBC8096 platform:
 1) Configuration of split-dsi to support DSI0 and DSI1.
 2) Configuration of correct display panel dsi_dual_sharp_video.
 3) Enablement of DSI1.
 4) Configuration of backlight.

Change-Id: Iacf2d663a0a84b2903384c139fcd1dd6c7da9da5
Signed-off-by: Anna Hanna Sedlak Grinbaum <asedla@codeaurora.org>
2016-03-23 21:12:42 -07:00
Dhaval Patel
3c7a8474b0 msm: mdss: dsi: return true when esd status is not enabled
Panel status check returns the current state based
on esd status check method. If esd method is not configured
then it returns panel dead which is misleading. This change
returns panel status alive if esd method is not enabled or
esd check callback is not registered for certain method.

Change-Id: I5df21df16618cd62b5d1495982ff889ed53ce31b
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:12:41 -07:00
Krishnankutty Kolathappilly
a309c04c54 msm: cpp: Synchronize tasklet and timeout work queue
CPP driver times out for a particular frame. Interrupt for a
particular frame is received after timeout. Tasklet is initiated
but not scheduled. Timeout sequence reloads the firmware. Before
frame is rescheduled from timeout, tasklet is scheduled and
frame is removed from queue. Null pointer dereference occurs when
timeout tries to schedule a frame that is removed from queue.

Ensure any pending scheduled events on tasklet is executed before
time out sequence reload firmware and reschedules the frame.

CRs-Fixed: 928854
Change-Id: I6b6fb55fcdfea936456ad1dd81082f19b3825c9c
Signed-off-by: Krishnankutty Kolathappilly <kkolatha@codeaurora.org>
2016-03-23 21:12:40 -07:00
Jigarkumar Kishorkumar Zala
b789d4375e ARM: dts: msm: add PMIC revid source property for flash LED
Add PMIC revid source property, in order to differentiate
between PMIC subtypes and revisions for flash LED.

Change-Id: Idd93f2c091fcf5c261e7f6c996c149a874fc3e83
Signed-off-by: Jigarkumar Kishorkumar Zala <j_zala@codeaurora.org>
2016-03-23 21:12:40 -07:00
Se Wang (Patrick) Oh
010f6cf3d2 soc: qcom: Add support PFE WA
Sometimes the PFTLB entries get stuck in the invalid state
and new prefetches get dropped. As a workaround,
when a large number of L1 prefetches have been dropped,
above a threshold, the PMU can generate an interrupt.
And then reset PFE. The default threshold is 257.

Change-Id: Id6142037fa411575c3cbaa30dd08140ab6e5cb3f
Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
2016-03-23 21:12:39 -07:00
Tatenda Chipeperekwa
ba6b11b381 clk: msm: mdss: Change PLL/PHY status messages to debug level
The utility functions to check for PLL lock status and PHY ready
status should only report the status, and log messages for
debug/information purposes. The caller must decide on how to
treat the return value, and log appropriately depending on the
use case.

Change-Id: Id369b8c4e326d71a071a244e3de432efe89bd483
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2016-03-23 21:12:38 -07:00
Siddhartha Agrawal
4225cad918 ARM: dts: add sharp 1080p cmd mode panel support
Add support for the sharp 1080p command mode panel
on 8996. This panel can be selected by using the
oem override command mentioned below:

- fastboot oem select-display-panel
    prim:sharp_1080p_cmd:skip

Change-Id: I8dbf7863618cde1a47880d64a867aae80fbd73fc
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Signed-off-by: Siddhartha Agrawal <agrawals@codeaurora.org>
2016-03-23 21:12:37 -07:00
Terence Hampson
6e6d3a9047 ARM: dts: msm: add sharp 120 Hz panel support for msm8996
add sharp 120Hz panel support for msm8996 target
on CDP and MTP skews.

Change-Id: Id9410b4cfb5574b0dc5e5c2b84940ff436ffb56d
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
Signed-off-by: Dhaval Patel <pdhaval@codeaurora.org>
2016-03-23 21:12:36 -07:00
Shalaj Jain
c585a29f1c ARM: dts: msm: Add max secure concurrent instance count for msm8996
Limit max secure concurrent instances to 5 due to some
system wide limitations like memory, performance etc. This
is only appcible for master side access control.

Change-Id: I3963d7f747389ea0f5b8814cdb3d8436ba465e9e
Signed-off-by: Shalaj Jain <shalajj@codeaurora.org>
2016-03-23 21:12:35 -07:00
Girish Mahadevan
d178d61132 ARM: dts: msm: Enable BLSP entries for msm8996 auto platforms
Enable the BLSP instances used for the msm8996 Agave and Dragonboard
platforms.

Change-Id: If9692995ea35870db488fd69a2153f59daca58f9
Signed-off-by: Girish Mahadevan <girishm@codeaurora.org>
2016-03-23 21:12:35 -07:00
Ankit Gupta
f571ff2a0b ARM: dts: msm: Add blsp instances for 8996
Add i2c, uart and spi instances for 8996.

Change-Id: I5262dd0ef9fee8d4f6ae7bed2bc2edc2d8a9e71b
Signed-off-by: Ankit Gupta <ankgupta@codeaurora.org>
Signed-off-by: Mayank Chopra <makchopra@codeaurora.org>
2016-03-23 21:12:34 -07:00
Rajesh Kemisetti
dd68fb8d5b msm: kgsl: Don't enable GPU 64bit when kernel is in 32bit configuration
Setting the GPU to 64bit when rest of world is in 32bit can
make the GPU misbehave. Hence, check the kernel configuration
before actually moving the GPU to 64bit mode.

Change-Id: Ie4cf6c2d4fdfa978287c86812bdce4bf8c56ef5f
Signed-off-by: Rajesh Kemisetti <rajeshk@codeaurora.org>
2016-03-23 21:12:33 -07:00