Commit Graph

159781 Commits

Author SHA1 Message Date
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
Matt Sealey
3337202afe efikamx: fix post-build-test and pre-commit accidental typo 2012-03-08 15:28:36 -06:00
Matt Sealey
4fa3f18a58 ipu: add platform data method to determine pixel clock accuracy (external or internal).
If the internal clock is deadly accurate for the desired mode, that will be used instead
(the accuracy is set to within 1/200th which is well within VESA standards of 1/50th) to
save power.

efikamx changes: for HDMI, try external clock when necessary. For LVDS, don't since there
is some weird clock mess with the binary blob for the LCD panels in the mtl017 driver
which we think is derived from the lack of external clock support in more ancient kernels.
It is fudging the values to both correct some kind of panel EDID bug and also to fix the
potential deviation in clock, but since it's a binary blob it's kind of hard to change.
2012-03-08 15:22:33 -06:00
Matt Sealey
92645ae481 pata_fsl: use with-irqs version of PIO data transfer for a noticable speedup 2012-03-08 15:20:21 -06:00
Matt Sealey
a460028c64 ipu: backport of IPU clock handling
* improve clock accuracy check from 1/16 to 1/200 of intended clock rate
* properly round pixel clock to the parent and not against a hardcoded 150MHz max rate
* properly fix di external clock divisor to a maximum of 8
2012-02-20 09:29:48 -06:00
Matt Sealey
3345610229 put hex_to_bin back 2011-12-20 21:38:23 -06:00
Matt Sealey
ded72a8511 gsl: fix typo in error message 2011-12-19 12:37:28 -06:00
Matt Sealey
f8f8789037 whitespace cleanups? 2011-12-15 13:38:28 -06:00
Matt Sealey
fe21c0fe94 gsl: add/improve ioctl entry/exit debugging, but disable it. 2011-12-15 13:37:26 -06:00
Matt Sealey
38e736cbad cleanup 2011-12-15 13:36:34 -06:00
Matt Sealey
e2740bfd48 Revert "audio: keep SGTL5000 clock on as the same clock is used for SPDIF 48Khz capability"
This actually didn't help anything as somehow the SPDIF and SGTL5000 just stopped working..

This reverts commit 2e1c46fb5c.
2011-12-02 20:29:01 -06:00
Matt Sealey
47980f1946 make-deb: use the default config for EfikaMX if there isn't one already 2011-12-02 18:42:42 -06:00
Matt Sealey
3884134c16 Scripts to ease building the kernel and debian packages for the kernel 2011-12-02 18:41:23 -06:00