Daniel Stenberg
|
2acc0ac542
|
Updated our source code header to explicitly mention that we are GPL v2 or
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
|
2008-06-28 18:10:04 +00:00 |
|
Michael Sevakis
|
adf2e4c9a0
|
Targets with HAVE_LCD_ENABLE: Provide a means to receive notifications when the lcd is enabled and the image is refreshed so overlayed drawing can also be refreshed. Chiefly mpegplayer needs this so it can redraw the YUV data after the backlight is turned on while paused or when using 'Set Start Time'.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17640 a1c6a512-1295-4272-9138-f99709370657
|
2008-05-28 10:17:16 +00:00 |
|
Michael Sevakis
|
22c8a25f5f
|
e200: Get the UNCACHED_ADDR macro and phys_fb_address use out of the lcd driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16982 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-06 05:08:39 +00:00 |
|
Michael Sevakis
|
05099149f1
|
Enable nocache sections using the linker. PP5022/4 must use SW_CORELOCK now with shared variables in DRAM (it seems swp(b) is at least partially broken on all PP or I'm doing something very wrong here :\). For core-shared data use SHAREDBSS/DATA_ATTR. NOCACHEBSS/DATA_ATTR is available whether or not single core is forced for static peripheral-DMA buffer allocation without use of the UNCACHED_ADDR macro in code and is likely useful on a non-PP target with a data cache (although not actually enabled in config.h and the .lds's in this commit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16981 a1c6a512-1295-4272-9138-f99709370657
|
2008-04-06 04:34:57 +00:00 |
|
Jens Arnold
|
68a21689ae
|
Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
|
2008-03-24 00:35:53 +00:00 |
|
Michael Sevakis
|
57d71e4267
|
Add some CACHEALIGN_* macros and a helper function to assist in aligning data and buffers on PortalPlayer processors to cache line boundaries. They're noops when PROC_NEED_CACHEALIGN isn't defined. Go safe and increase the value to 32 since I'm not sure yet if 16 is sufficient - changing that is a one-liner. Add helper to plugin API which will be needed shortly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15523 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-08 05:17:20 +00:00 |
|
Barry Wardell
|
03dd35db0e
|
Get rid of some more inl/outl. 0x70000084 seems to be GPO32_ENABLE.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15477 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-05 17:19:00 +00:00 |
|
Barry Wardell
|
4ef3e821cb
|
Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15476 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-05 16:12:13 +00:00 |
|
Barry Wardell
|
2d95fd524d
|
Get rid of some more inl/outl and use the new GPO32 define instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15474 a1c6a512-1295-4272-9138-f99709370657
|
2007-11-05 15:48:59 +00:00 |
|
Michael Sevakis
|
c266204aec
|
e200: shorten some delays so the backlight turn on is snappier. Values seem to have a safe margin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15337 a1c6a512-1295-4272-9138-f99709370657
|
2007-10-28 00:39:01 +00:00 |
|
Barry Wardell
|
1d1a17c0db
|
Improved H10 ADC driver. We now do things exactly as the OF does. This includes shifting the readings by 0x14 when PLL is enabled. Battery voltages and remote/scrollpad values adjusted accordingly. We also now wait for the ADC to indicate the conversion is complete before reading the data, so hopefully we will get more reliably steady readings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15141 a1c6a512-1295-4272-9138-f99709370657
|
2007-10-16 10:48:16 +00:00 |
|
Michael Sevakis
|
cc5b50b231
|
Change a couple udelay() in e200 lcd driver to sleep() since sleep() was the intent.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14982 a1c6a512-1295-4272-9138-f99709370657
|
2007-10-04 16:22:00 +00:00 |
|
Michael Sevakis
|
940e8990b5
|
PP502x: Make RAM physical addresses uncached. Cache the flash ROM on targets with one. Kill all the now unneeded cache flushing and i2s tweaking on e200 so clicking is no worry. Write the driver framebuffer at uncached addresses. Recording monitoring may be a little noisy in the left channel for the moment when not boosted and will be addressed. All seems to work as advertised including flash ROM dump.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14976 a1c6a512-1295-4272-9138-f99709370657
|
2007-10-04 04:53:01 +00:00 |
|
Michael Sevakis
|
287d6223d3
|
Dithering option for mpegplayer on gigabeat-f/x and e200. Assembly IDCT for ARm just to make it all work more nicely. Move UI simulator YUV code to its core to adapt it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14851 a1c6a512-1295-4272-9138-f99709370657
|
2007-09-25 02:59:42 +00:00 |
|
Michael Sevakis
|
e6511d8eaa
|
Faster video rendering for e200 and Gigabeat.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14675 a1c6a512-1295-4272-9138-f99709370657
|
2007-09-12 09:02:31 +00:00 |
|
Michael Sevakis
|
bc35acffd9
|
Commit FS#7692 - LCD garbled top two lines by Jesse Lockwood and Jonathan Backer. Works on mine and others' older models without trouble and provides a genuine fix for the garbled display lines issue troubling newer ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14620 a1c6a512-1295-4272-9138-f99709370657
|
2007-09-05 07:58:42 +00:00 |
|
Michael Sevakis
|
60b01fa0f7
|
Straignten out some issues with HAVE_LCD_ENABLE. 1g/2g/3g had it defined but it shouldn't have been. lcd_enabled() was only available as a real function on gigabeat but others can use that too. Markup lcd.h a bit because I got a bit lost in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14100 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-31 12:43:06 +00:00 |
|
Michael Sevakis
|
3233e9651a
|
e200: Remove all that inlining in the display driver to get rid of the bloat. The functions are rarely called.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13824 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 00:08:33 +00:00 |
|
Michael Sevakis
|
1bbd58e2d8
|
e200 lcd mashup: 1) Enable flipped and inverted mode. 2) Fully enable all power options so that LCD driver IC's visible display is shut down with backlight and make the Sleep option available 3) Better framebuffer copy routine in assembly that confines updates to the specified rectangle _and_ is faster than memcpy 4) Some other offhand changes out of preference.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13818 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 13:02:52 +00:00 |
|
Michael Sevakis
|
7a16069507
|
e200: Better sync of display enabling and display update. The display would be remain stale after being turned back on with no screen activity. Block out the fiddling with DMA when writing to driver framebuffer. Melts seem too rare to catch now. There seems to be no significant advantage from an appearance point of view to be meddling around with the transfer anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13582 a1c6a512-1295-4272-9138-f99709370657
|
2007-06-07 06:11:03 +00:00 |
|
Michael Sevakis
|
4e24bb9976
|
e200: Add register defines for the LCD driver IC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13300 a1c6a512-1295-4272-9138-f99709370657
|
2007-05-01 19:21:27 +00:00 |
|
Barry Wardell
|
7027c6a0f8
|
FS#7036: Power saving improvements for Sansa. Shutdown LCD controller when backlight is off and shutdown ATA controller when the disk isn't being accessed. Frequency scaling is not enabled yet as it was apparently causing some problems.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13250 a1c6a512-1295-4272-9138-f99709370657
|
2007-04-23 23:26:23 +00:00 |
|
Christian Gmeiner
|
1245d0fddd
|
clean up some #include's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13247 a1c6a512-1295-4272-9138-f99709370657
|
2007-04-22 18:17:48 +00:00 |
|
Michael Sevakis
|
ac94641606
|
e200: Use cached memory for the yuv chroma buffer. Gives some speedup. Align lcd_driver_framebuffer to the same alignment as lcd_framebuffer. The need for this became apparent when the first change cause aligment & 3 != 0 and the screen was wrapped one pixel right with a black pixel at (0, 0).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13161 a1c6a512-1295-4272-9138-f99709370657
|
2007-04-14 19:49:58 +00:00 |
|
Michael Sevakis
|
d95c39072a
|
Portal Player: Add invalidate_icache and flush_icache. Flush the cache on the core for newborn threads. In doing so, move more ARM stuff to the target tree and organize it to make a clean job of it. If anything isn't appropriate for some particular device give a hollar or even just fix it by some added #ifdefing. I was informed that the PP targets are register compatible so I'm going off that advice. The Sansa likes it though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13144 a1c6a512-1295-4272-9138-f99709370657
|
2007-04-13 20:55:48 +00:00 |
|
Dave Chapman
|
4303ab02a3
|
Optimized lcd_yuv_blit() (used by mpegplayer) for the Sansa E200. This is just a copy-and-paste of the Gigabeat version by Michael Sevakis with no attempt to adapt to the different CPU in the E200 - so there could be room for further improvement. Reported to increase the FPS for the 224x128 version of Elephants Dream from 21fps to 27fps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13042 a1c6a512-1295-4272-9138-f99709370657
|
2007-04-06 09:34:13 +00:00 |
|
Daniel Ankers
|
5511611622
|
Fix blitting on Sansa so Mpegplayer works again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12879 a1c6a512-1295-4272-9138-f99709370657
|
2007-03-21 13:25:30 +00:00 |
|
Daniel Ankers
|
b22e15b2bd
|
Sansa LCD: Make the second framebuffer static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12849 a1c6a512-1295-4272-9138-f99709370657
|
2007-03-20 11:19:20 +00:00 |
|
Daniel Ankers
|
15dfcd13ef
|
Improved LCD driver for Sansa. Uses double-buffering to cure the flickering. Stops DMA during device initialization, which should stop the occasional hangs - based on FS#6859 by Antonius Hellmann
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12848 a1c6a512-1295-4272-9138-f99709370657
|
2007-03-20 10:52:02 +00:00 |
|
Barry Wardell
|
8b061252c4
|
Replace some inl/outl with register #define's instead. Also tidy up pp5020.h so that it's in increasing address order.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12574 a1c6a512-1295-4272-9138-f99709370657
|
2007-03-03 17:25:20 +00:00 |
|
Barry Wardell
|
e3a55f2bdc
|
FS#6675: Add lcd_yuv_blit() for the Sansa. Thanks to Rene Peinthor. This makes mpegplayer run on the Sansa. Button detection in mpegplayer doesn't work because it is done in the audio thread and that thread locks up because we don't have audio support yet. So for now it's necessary to do a hardware power off to quit mpegplayer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12404 a1c6a512-1295-4272-9138-f99709370657
|
2007-02-19 21:22:32 +00:00 |
|
Daniel Ankers
|
43e2c01065
|
Sansa doesn't use a Wolfson codec. Various other changes to allow Sansa to compile correctly with a normal build. Based on FS#6336 by Pavel Gnelitsa
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11570 a1c6a512-1295-4272-9138-f99709370657
|
2006-11-22 00:49:16 +00:00 |
|
Daniel Ankers
|
d8ef7c58d8
|
Big Sansa update: Go back to using the common crt0-pp.S. Add LCD driver. Add ADC driver (may not be needed). Fix a bug in the button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11237 a1c6a512-1295-4272-9138-f99709370657
|
2006-10-16 17:21:36 +00:00 |
|
Daniel Stenberg
|
7731729b7b
|
better names for the target-specific files and define PP5024 properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10400 a1c6a512-1295-4272-9138-f99709370657
|
2006-08-01 22:42:25 +00:00 |
|