Commit Graph

159793 Commits

Author SHA1 Message Date
Matt Sealey
c50431b567 BFS: back out BFS scheduler for stability reasons
It works faster sometimes, other times not.. the code is so old now
2012-12-10 20:18:47 -06:00
Matt Sealey
102933f39b amd-gpu: ensure timestamp read posted to CPU before returning 2012-12-10 19:36:19 -06:00
Matt Sealey
7b5ab2e982 amd-gpu: more sane way of doing an RB write 2012-12-10 19:36:18 -06:00
Matt Sealey
e98a2a565a amd-gpu: memory barrier additions in MMU code to ensure pagetables are posted 2012-12-10 19:36:18 -06:00
Matt Sealey
fbbe86a046 amd-gpu: ringbuffer polling/timestamp buffer alignment fix
According to Qualcomm it can be at a 4-byte boundary, but for using MMU
it needs to be at a page boundary
2012-12-10 19:36:17 -06:00
Matt Sealey
5395604743 amd-gpu: alignment for MMU page tables should be page-aligned 2012-12-10 19:36:16 -06:00
Matt Sealey
3b58ae2463 amd-gpu: don't use writecombining for remapping the sharedmem space even with MMU 2012-12-10 18:38:04 -06:00
Matt Sealey
be53471e10 amd-gpu: barriers in ringbuffer submit to ensure that the buffer is posted first 2012-12-10 18:36:59 -06:00
Matt Sealey
0c0087fe73 amd-gpu: memory barrier after waittimestamp ioctl to ensure buffers posted 2012-12-10 18:33:41 -06:00
Matt Sealey
287a1576a6 amd-gpu: memory barrier for safety after issueibcmds sync mem
Makes sense (and is from Qualcomm's driver) since we cannot guarantee
the memory writes have finished posting before we submit them to the
GPU.
2012-12-10 18:22:37 -06:00
Matt Sealey
f1ccc6aab6 amd-gpu: remove unused, non-kernelish debug_pm4 module
This is just causing some messy code.
2012-12-10 18:14:48 -06:00
Matt Sealey
95b52ba9b3 amd-gpu: remove device_clock ioctl
No userspace users except a reference in libkgsl.so which is never called.

kgsl_device_clock() is left in (but preprocessed out) since it has a fairly
interesting behavior in turning the autogating on and off which is not the
same as turning the actual clocks on and off and could be useful with
modification for further refinement of power management at a later date.
2012-12-10 18:11:27 -06:00
Matt Sealey
d09ae76082 amd-gpu: remove add_timestamp ioctl
No userspace activity on this ioctl means it needn't be implemented.
2012-12-10 18:00:59 -06:00
Matt Sealey
3b59a26f78 amd-gpu: remove regwrite ioctl and associated infrastructure
kgsl_device_regwrite() still exists as it is used for a single point in
the driver (reading timestamp for Z430 ringbuffer) dependent on a build
flag. This flag is not enabled but it is not within the scope of this
patch to actually change this (if it is ever enabled it will be quite
obvious what to do - use kgsl_yamato_regwrite directly as it is entirely
Z430-specific)
2012-12-10 16:25:50 -06:00
Matt Sealey
16d6513c0b amd-gpu: remove unused waitirq ioctl and associated infrastructure
This is implemented in the "current" userspace libkgsl.so but in fact
since the ioctl is deprecated, there are no users for it and no evidence
of it ever being used in real life can be presented. Therefore we can
just take out the few things it does and it's single-use dependencies.
2012-12-10 16:13:52 -06:00
Matt Sealey
9b0b2333c8 amd-gpu: remove unused files and logging infrastructure which was never enabled 2012-12-10 16:09:51 -06:00
Matt Sealey
467b7151ad efikamx: more config cutdowns, this time for TV tuners and related audio devices
May be some more cleanups with this, it is not clear which tuners and devices
relate to each other so some drivers may be being built without dependent
tuners - V4L2 is such a mess. Either way this cuts down build time and install
footprint and affects practically nobody.
2012-11-19 18:08:36 +00:00
Matt Sealey
a00ae67a63 config: drop OSS as nobody uses it 2012-11-16 21:48:16 +00:00
Matt Sealey
d21c266824 siihdmi: add 1600x900 to the common not-quite-1080p mode matching 2012-11-16 21:45:35 +00:00
Matt Sealey
ca15b03176 efikamx: remove drivers that are ancient and mostly clutter
This includes most DVB/USB stuff and JFS and XFS which nobody is using.
2012-11-09 11:13:52 -06:00
Matt Sealey
7229f8fd17 efikamx: update config to build in ext4 since it makes it easier to boot ramdisk-less systems 2012-11-09 09:20:53 -06:00
Matt Sealey
d1156b1817 backlight: match "DISP3 BG - DI1" as well as "DISP3 BG", solving issue with Smartbook backlight not turning off during screen blank
Mistaken use of strcmp vs. proper use of strncmp caused this
2012-07-31 15:04:57 -05:00
Matt Sealey
1196165ab6 sauce: fix an annoying compiler warning regarding set but unused variable (one of many, but this is the most repetitive) 2012-05-29 07:20:11 -05:00
Matt Sealey
89813bb753 gpu: fix the weird gpummu/nogpummu memory reservation/allocation mess, and disable the gpummu again for maximum stability 2012-05-16 07:09:18 -05:00
Matt Sealey
0580fd061d Merge branch 'master' of github.com:genesi/linux-legacy 2012-05-07 10:18:46 -05:00
Matt Sealey
fd9f6022dd add a cross-compiler suffix (for versions) so we don't need diversions or compiler slots to use other compilers 2012-05-07 10:16:52 -05:00
Matt Sealey
c456c38e49 helper scripts: modify the filename of the toolchain include so it doesn't conflict 2012-05-07 10:16:03 -05:00
Matt Sealey
44a6231768 siihdmi: introduce siihdmi.nohotplug=1 argument to disable the hotplug handler globally 2012-04-20 12:37:20 -05:00
Matt Sealey
6be1fd20cc efikamx: correct IPU revision again (it should be 2 for IPUv3EX however unintuitive that is, and 3 for IPUv3M on MX53). This fixes the IPU driver getting the correct base address. 2012-04-20 11:15:22 -05:00
Matt Sealey
455affb66e siihdmi: reintroduce the 480-600ms sleep after reset to allow hotplug to settle. 2012-04-19 19:15:49 -05:00
Matt Sealey
73cae9887a siihdmi: enable DEBUG so that DBG() messages are output 2012-04-19 17:46:57 -05:00
Matt Sealey
0adb2f1d0b siihdmi: strncmp would nuke if the mode in the current monitor database had no name 2012-04-19 16:54:34 -05:00
Matt Sealey
15c4470a5a checkpatch: egregious bump to the version from kernel 3.4rc1 2012-04-19 15:03:09 -05:00
Matt Sealey
af99f78e82 siihdmi: updated checkpatch run, fix a few other things including a serious memset argument order problem (argh!)
scripts/checkpatch.pl -f drivers/video/mxc/siihdmi.c --ignore=LONG_LINE,C99_COMMENTS
total: 0 errors, 0 warnings, 1555 lines checked

NOTE: Ignored message types: C99_COMMENTS LONG_LINE

drivers/video/mxc/siihdmi.c has no obvious style problems and is ready for submission.
2012-04-19 15:02:30 -05:00
Matt Sealey
c00322177f siihdmi: fix some checkpatch errors and realign some stuff to reduce warnings. Now we're only guilty of going over 80 columns, but Camelot is a silly place. 2012-04-19 14:43:34 -05:00
Matt Sealey
64cf5e0b27 siihdmi: downgrade to 640x480 output while getting EDID to match HDMI specification 2012-04-19 14:03:47 -05:00
Matt Sealey
9960ff68e1 siihdmi: clarify power modes debug 2012-04-19 14:01:42 -05:00
Matt Sealey
37cd50e9ff siihdmi: strncmp against modedb instead of structure memcmp to save time and effort matching CEA VIC 2012-04-19 13:59:01 -05:00
Matt Sealey
ddc6441e13 siihdmi: fix a division by zero when HDMI VSDB gives out 0 as the maximum TMDS clock capability 2012-04-19 13:55:52 -05:00
Matt Sealey
37c5293a2e siihdmi: comment about setting up interrupt service 2012-04-19 13:52:43 -05:00
Matt Sealey
d78c91e816 siihdmi: do the same msecs_to_jiffies for the identify timeout to match the DDC timeout 2012-04-19 13:49:56 -05:00
Matt Sealey
2bba60824f siihdmi: correct bus timeouts to convert ms to jiffies for the time_after function 2012-04-19 13:49:00 -05:00
Matt Sealey
badb686329 siihdmi: only mark insufficient margin in the mode list for 800x600 as all other modes tested actually seem to work okay. 2012-04-19 13:46:11 -05:00
Matt Sealey
1327336167 siihdmi: correct debug not to show display "power" on or off but more directly refer to "receiver sense" active or inactive. Also distinguish between the debug in the hotplug service loop and the almost identical output in the display setup code 2012-04-19 13:42:23 -05:00
Matt Sealey
a39558634a siihdmi: use SIIHDMI_NAME for driver data too 2012-04-19 13:39:15 -05:00
Matt Sealey
7c070eb308 siihdmi: rework debug statements not to redefine DEBUG, and use SIIHDMI_NAME 2012-04-19 13:37:00 -05:00
Matt Sealey
21371b733b siihdmi: add definition of driver name to simplify debug statements (header) 2012-04-19 13:24:59 -05:00
Matt Sealey
89e13e660a efikamx: correct IPU version and don't want 600ms for SIIHDMI reset (it doesn't take that long) 2012-04-19 13:23:30 -05:00
Matt Sealey
39a894043f build: workaround for Linaro gcc-4.6 cross compilers 2012-03-26 17:34:03 -05:00
Zeng Zhaoming
4fdaa5078c ENGR00144281 SDMA: System hangs in bootup when kernel_preempt not enable
When kernel_preempt not enable in configure, system bootup hangs
in sdma initialization.

This is caused by sdma initialization waiting for channel0 complete loading
script in queue, and arch_idle happens with action to disable some clocks,
if DDR clock disabled, script loading will failed and SoC hangs.

Solve it by make sure DDR clock is enabled during sdma initialization.

Signed-off-by: Zeng Zhaoming <b32542@freescale.com>
2012-03-10 11:29:35 -06:00