securecrt
aa5de9cfcb
msm: kgsl: increase valid timestamp range
...
The existing timestamp_cmp function returns a different
result depending on the order of the input parameters due to
having an asymetric valid window. When no rollover is
detected the window is 2^31 but when a rollover is detected
the window is 25000. This change makes the rollover window
symmetric at 2^31.
2012-06-21 12:34:57 +08:00
securecrt
d319fcfbbd
msm: kgsl: flush outer cache for alloc_page() pages
...
The outer cache needs to be flushed for these pages
after they are allocated so that the GPU and CPU
have a consistent view of them.
2012-06-21 12:30:20 +08:00
SecureCRT
97dd7fe6b5
msm: kgsl: Add a constant for adreno_ringbuffer_issuecmds flags
...
Use a #define constant instead of a bare constant for the flags
parameter of adreno_ringbuffer_issuecmds.
2012-06-21 00:32:58 +08:00
SecureCRT
ae32a212a5
msm: kgsl: fix error handling in adreno_waittimestamp()
...
This function was incorrectly reporting hangs when an
error such as ERESTARTSYS was returned by
__wait_event_interruptible_timeout().
msm: kgsl: Make sure WPTR reg is updated properly
Sometimes writes to WPTR register do not take effect, causing a
3D core hang. Make sure the WPTR is updated properly when waiting.
msm: kgsl: Set default value of wait_timeout in the adreno_dev struct
Set the initalization value of wait_timeout at compile time in the
declaration of the adreno_device struct instead of at runtime in
adreno_probe.
2012-06-21 00:02:15 +08:00
securecrt
73aff24078
msm: kgsl: fix size checking in adreno_find_region
...
This function is supposed to return the memdesc that
contains the range gpuaddr to gpuaddr + size. One of the
lookups was using sizeof(unsigned int) instead of size,
which could cause false positive results from this function
and possibly kernel panics in the snapshot or postmortem
code, which rely on it to do bounds checking for them.
2012-06-20 12:39:35 +08:00
securecrt
fd5e7d8237
msm: kgsl: let postmortem dump find context switch IBs
...
Because the IBs used for context switching are not allocated
by userspace, a separate search is needed to find them
in adreno_find_region.
2012-06-20 12:25:12 +08:00
SecureCRT
c5ac3240a5
msm: kgsl: improve postmortem and cff bounds checking
...
Some hangs are fooling the postmortem dump code into
running off the end of a buffer. Fix this by making
its bounds check logic work better by reusing the
logic from kgsl_find_region().
2012-06-19 23:30:34 +08:00
SecureCRT
8be096244d
msm: kgsl: Fix when GMEM is saved for A2xx
...
Saving GMEM is set when doing context switching and should not
be set when creating the gmem shadow.
2012-06-19 21:46:18 +08:00
securecrt
2f3f4d14f9
msm: kgsl: Add support for the preamble context flag
...
Userspace will set a flag in the context if preambles are in use. If
they are, we can safely skip save and restore commands for the
context. GMEM save/restore is still required. To improve performance,
preamble commands are skipped when the context hasn't changed since
the last issueibcmds.
from Code Aurora
2012-06-19 14:00:07 +08:00
SecureCRT
cad19fbe99
change the build batch file
2012-06-19 01:38:16 +08:00
SecureCRT
83cf3269bc
add more sf_pmem to prevent memory full
2012-06-19 01:37:29 +08:00
SecureCRT
758812c3aa
fixed the adsp pmem is too low for camera
2012-06-18 23:52:45 +08:00
securecrt
1bd0e44d7a
reduced the pmem size to save memory for userspace, TEST ONLY!!
2012-06-18 20:31:47 +08:00
securecrt
4f50d63951
msm: kgsl: fix format of the rbbm read error message
...
msm: kgsl: Assign a valid context only after one has been restored
2012-06-18 20:28:17 +08:00
SecureCRT
d0bde07fa4
set ALLORNOTHING allocator for mdp heap
2012-06-05 00:12:26 +08:00
SecureCRT
32f796ad5c
compress boot and system dir only
2012-06-02 16:34:51 +08:00
SecureCRT
aacc150509
add auto build script
2012-06-02 16:26:49 +08:00
SecureCRT
a7c3c3727b
enable the 2700mAh battery for my private use only
2012-06-02 15:35:33 +08:00
SecureCRT
b38b808efb
enable fast charge
2012-06-02 15:33:41 +08:00
tytung
c3fcc46456
updated README.
2012-06-02 00:45:50 +08:00
tytung
e512b34cde
htcleo: updated htcleo_defconfig to tytung_HWA_r2.5
2012-06-01 01:16:56 +08:00
tytung
db81187e55
msm: htcleo: export the real WiFi and Bluetooth MAC addresses.
...
(Credits go to marc1706)
2012-06-01 01:16:20 +08:00
tytung
8505d01410
drivers: mtd: devices: htcleo_nand: leave only correct candidates for WiFi and Bluetooth MAC addresses.
...
(Credits go to Rick_1995, aka zeusk.)
http://forum.xda-developers.com/showpost.php?p=26579738&postcount=4
2012-06-01 00:33:19 +08:00
tytung
a979a22695
drivers: mtd: devices: htcleo_nand: find the real unique WiFi and Bluetooth MAC addresses.
...
(Credits go to Franck78 <fbourdonnec@chez.com>)
http://forum.xda-developers.com/showpost.php?p=26556691&postcount=3
2012-06-01 00:21:07 +08:00
tytung
5ff4526737
htcleo: updated htcleo_defconfig to tytung_HWA_r2.4-uniMAC
2012-05-22 19:52:16 +08:00
tytung
2c73e1566d
Revert "msm: htcleo: removed the real WiFi MAC address for SD build and used new unique WiFi MAC address, so that we have the same WiFi MAC address on NAND and SD."
...
This reverts commit 9ab858cdb2544d3db5655fbc9887e67008e13488.
Revert it because new unique WiFi MAC patch only works for NAND ROM and MAGLDR SD boot, not works for WM users using Clrcad & Haret to boot SD build.
2012-05-22 19:51:10 +08:00
tytung
88e7e8a6d2
drivers: usb: gadget: update some usb drivers for USB Tethering.
2012-05-19 19:33:14 +08:00
tytung
50abfc6c2d
Merge pull request #4 from zeusk/ics_HWA
...
[KGSL] update to msm-kgsl3d0 v3.8
2012-05-13 21:49:47 -07:00
Shantanu Gupta
be86226379
[KGSL] add missing files for last commit
2012-05-14 02:47:02 +05:30
Shantanu Gupta
8afb87a6ea
[KGSL] update to msm-kgsl3d0 v3.8
2012-05-14 01:49:10 +05:30
tytung
1e3f6a9266
updated README.
2012-05-13 20:34:11 +08:00
tytung
ac0378e146
htcleo: updated htcleo_defconfig to tytung_HWA_r2.2-uniMAC
2012-05-13 11:49:13 +08:00
tytung
14509b73e8
msm: htcleo: cleanup
2012-05-13 03:45:08 +08:00
tytung
dfac1a861b
Merge pull request #3 from zeusk/ics_HWA
...
Backport android and MSM parts from caf
2012-05-12 12:18:37 -07:00
Shantanu Gupta
daf542e57e
Backport android and MSM parts from caf
2012-05-12 16:56:17 +05:30
tytung
9ab858cdb2
msm: htcleo: removed the real WiFi MAC address for SD build and used new unique WiFi MAC address, so that we have the same WiFi MAC address on NAND and SD.
...
Will revert this commit when someday someone implement the real WiFi MAC address for NAND.
2012-05-09 00:35:54 +08:00
tytung
03d0f38950
msm: htcleo: removed the old support for bt.mac=... from kernel cmd line
2012-05-09 00:32:17 +08:00
tytung
54c05e087a
msm: htcleo: implemented the real unique WiFi/Bluetooth MAC address to solve the MAC address collisions. (Credit to Franck78 <fbourdonnec@chez.com>)
...
WiFi MAC address collisions: http://forum.xda-developers.com/showthread.php?t=1275095
2012-05-09 00:27:33 +08:00
tytung
f13c2b648a
updated README.
2012-05-05 22:36:05 +08:00
tytung
d1e200de48
htcleo: updated htcleo_defconfig to tytung_HWA_r2 (enable ZRAM).
2012-05-05 00:21:36 +08:00
tytung
0d06b3f2b4
drivers: staging: zram: added ZRAM support: /dev/zramX (X = 0, 1, ...).
2012-05-05 00:19:05 +08:00
tytung
64ec5359e1
Merge pull request #2 from zeusk/ics_HWA
...
ics hwa fixes
Thanks zeusk.
2012-05-03 13:02:23 -07:00
zeusk
3311dbe75b
Merge pull request #1 from securecrt/ics_HWA
...
fixed the boot logo
Thanks securecrt
2012-05-03 10:04:53 -07:00
SecureCRT
eeb52b2437
fixed the boot logo
2012-05-04 00:38:00 +08:00
Shantanu Gupta
e8bd623aa0
[MSM] revert qdsp backport, seems to break quite a lot of stuff, will fix it later.
2012-05-03 21:30:12 +05:30
Shantanu Gupta
48322595f9
[MSM] Backported a lot of stuff from 2.6.35 and 2.6.32.59 kernels, compiles and tested on device
2012-05-03 19:31:48 +05:30
Shantanu Gupta
bffda154f5
Cleanup remenant code of older kgsl
2012-05-03 12:28:28 +05:30
Shantanu Gupta
c85abf5272
[MSM] Fix makefile, which in an erroneous manner includes the logo file disregarding the board config
2012-05-03 12:15:59 +05:30
Shantanu Gupta
d1aeebac34
[KGSL] remove the older driver along with some
...
apparently unused, unrequired binaries.
2012-05-03 12:09:48 +05:30
tytung
4df58bdbe5
htcleo: updated htcleo_defconfig to tytung_HWA_r1 (enable new KGSL, KSM, and GENLOCK).
2012-05-01 15:03:03 +08:00