summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/lcd-jz4740.c
AgeCommit message (Collapse)AuthorFilesLines
2022-10-13Revert "Remove YUV blitting functions and LCD modes"Solomon Peachy1-0/+62
This reverts commit fe6aa21e9eb88f49005863efd2003d0982920048. Change-Id: I8bb1e5d6c52ed1478002d2140ef494ec5d62b8e3
2022-10-03Remove YUV blitting functions and LCD modesAidan MacDonald1-62/+0
None of this is needed now that mpegplayer is gone. Change-Id: I360366db8513e4d988021e8d7b7d8eb09930efb8
2020-09-03mips: Heavily rework DMA & caching codeSolomon Peachy1-3/+4
Based on code originally written by Amaury Pouly (g#1789, g#1791, g#1527) but rebased and heavily updated. Change-Id: Ic794abb5e8d89feb4b88fc3abe854270fb28db70
2020-08-29XduooX3 Sources WS changesWilliam Wilgus1-30/+30
Change-Id: I17ae59e7ef0440756527ce50ab30f8bf34f79007
2012-02-28lcd drivers: Convert lcd_[remote_]framebuffer to a pointerJonathan Gordon1-2/+2
Change all lcd drivers to using a pointer to the static framebuffer instead of directly accessing the static array. This will let us later do fun things like dynamic framebuffer sizes (RaaA) or ability to use different buffers for different layers (dynamic skin backdrops!) Change-Id: I0a4d58a9d7b55e6c932131b929e5d4c9f9414b06
2011-03-02Merge functionality of wakeups and semaphores-- fewer APIs and object types. ↵Michael Sevakis1-4/+4
semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29492 a1c6a512-1295-4272-9138-f99709370657
2010-05-06Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz1-1/+1
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
2010-01-03Onda VX747/VX777: centralise LCD clock en-/disabling.Maurus Cuelenaere1-8/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24168 a1c6a512-1295-4272-9138-f99709370657
2010-01-03Onda VX747/VX777: disable LCD when backlight is off (saves power)Maurus Cuelenaere1-3/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24167 a1c6a512-1295-4272-9138-f99709370657
2009-10-20Convert lcd_activation callbacks to use the event system to allow for ↵Thomas Martitz1-1/+1
multiple parallel callbacks (for custom statusbar). Increase maximum event count as we need more (I actually had a report about it during custom statusbar testing). Removed corresponding functions from the core and plugin api. Bump min version and sort. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23302 a1c6a512-1295-4272-9138-f99709370657
2009-08-19fix redNils Wallménius1-1/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22432 a1c6a512-1295-4272-9138-f99709370657
2009-05-20Speed up LCD driver on Ingenic Jz4740 by doing some sort of partial LCD updates.Maurus Cuelenaere1-5/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20997 a1c6a512-1295-4272-9138-f99709370657
2009-04-18Fix some issues with YUV blitting on Onda VX747 (still not working properly)Maurus Cuelenaere1-12/+22
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20736 a1c6a512-1295-4272-9138-f99709370657
2009-04-18Onda VX747:Maurus Cuelenaere1-14/+57
* Add YUV support * Clean up LCD driver a bit and speed it up git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20730 a1c6a512-1295-4272-9138-f99709370657
2009-03-17Rework lcd_enabled and lcd_set/call_enable hookThomas Martitz1-2/+2
a) lcd_enabled() is now lcd_active(), and is available for HAVE_LCD_SLEEP only targets (e.g. ipod video) too. It was depandent on HAVE_LCD_ENALE only before b) rename the hook accordingly, and implement the hook for other other targets too (e.g. the clip [the only mono target with lcd_enable/lcd_sleep yet, so the code is still in the lcd driver], ipod, fuze, c200) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20331 a1c6a512-1295-4272-9138-f99709370657
2009-03-09Onda VX747:Maurus Cuelenaere1-4/+5
* Fix warnings * Add fake battery level information to make sure Rockbox doesn't shutdown * Enable switching between touch modes by pressing (VOL_DOWN|VOL_UP) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20269 a1c6a512-1295-4272-9138-f99709370657
2009-03-09* Onda VX767: fix some redundant files + add some missing functions for ↵Maurus Cuelenaere1-0/+2
apps/ compilation (still needs keymap though). * Add Onda VX767 SADC driver * Unify Onda VX747(+) and Onda VX767 backlight driver * Also be more consistent wrt file naming. * Add speaker-onda_vx747.c to SOURCES (forgot to commit this) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20259 a1c6a512-1295-4272-9138-f99709370657
2009-02-09Onda VX747: commit some parts to get apps/ to compile (more will follow)Maurus Cuelenaere1-0/+15
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19954 a1c6a512-1295-4272-9138-f99709370657
2009-01-27Onda VX747:Maurus Cuelenaere1-8/+0
* Implement lcd_flip() * Add support for multiple banks in NAND driver * Add basic I²C driver (untested) * Get audio back working * Add power driver * Other minor fixes and cleanups git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19863 a1c6a512-1295-4272-9138-f99709370657
2009-01-21Onda VX747:Maurus Cuelenaere1-1/+1
* Get USB working (it isn't good at writing support though) * Clean up NAND & SD a bit * Other comments/fixes Ingenic Jz4740/MIPS: * Split MMU from system git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19815 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Ingenic players:Maurus Cuelenaere1-0/+1
* Enable clocks when needed * Fix VX747+ button_hold() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19505 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Ingenic players: disable LCD clock when unneededMaurus Cuelenaere1-1/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19497 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Ingenic targets:Maurus Cuelenaere1-40/+51
* LCD rework * Dynamic DMA enabling * PCM cleanup * USB: replace printf() with logf() * System: get rid of in_interrupt_mode() * Backlight: add support for software PWM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19495 a1c6a512-1295-4272-9138-f99709370657
2008-12-04Ingenic targets:Maurus Cuelenaere1-15/+17
* Clean up codec & PCM + functional changes * LCD: Don't wait on DMAC in lcd_unlock() * SADC: add battery mutex + other changes * NAND: add mutex * USB rework (still not working) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19327 a1c6a512-1295-4272-9138-f99709370657
2008-12-03Jz4740 targets: make sure you don't yield when in interrupt modeMaurus Cuelenaere1-15/+39
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19309 a1c6a512-1295-4272-9138-f99709370657
2008-11-24Onda VX747: fix LCD bug by blocking lcd_update_rect() requestsMaurus Cuelenaere1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19200 a1c6a512-1295-4272-9138-f99709370657
2008-11-04Onda VX747:Maurus Cuelenaere1-11/+11
clean up's, bug fixes and reworks git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19007 a1c6a512-1295-4272-9138-f99709370657
2008-09-17Onda VX747:Maurus Cuelenaere1-1/+9
* Button driver rework * Backlight driver rework * LCD driver rework git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18543 a1c6a512-1295-4272-9138-f99709370657
2008-09-14Onda VX747:Maurus Cuelenaere1-1/+1
* Get rid of bug when interrupts are enabled * Get threading to work (although with some weirdness) * Other fixes/optimizations git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18512 a1c6a512-1295-4272-9138-f99709370657
2008-08-26Onda VX747:Maurus Cuelenaere1-1/+1
* Overall cleanup (still needs work) * Add preliminary USB support * Add power off support * Add preliminary MMU handling git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18348 a1c6a512-1295-4272-9138-f99709370657
2008-08-15Onda VX747:Maurus Cuelenaere1-11/+5
* kill TABs in jz4740.h * clean up LCD * make CONFIG_ORIENTATION work in both ways git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18286 a1c6a512-1295-4272-9138-f99709370657
2008-08-06* Add myself to some areas in docs/MAINTAINERSMaurus Cuelenaere1-0/+3
* Add lcd_call_enable_hook() call git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18204 a1c6a512-1295-4272-9138-f99709370657
2008-07-171) Set svn:keywords where they should've been setMaurus Cuelenaere1-1/+1
2) Onda VX747 specific changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18080 a1c6a512-1295-4272-9138-f99709370657
2008-07-16Remove obsolete function + cleanup code a bitMaurus Cuelenaere1-14/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18072 a1c6a512-1295-4272-9138-f99709370657
2008-07-16Fix the LCD bug!Maurus Cuelenaere1-3/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18071 a1c6a512-1295-4272-9138-f99709370657
2008-07-14Remove svn:executableMaurus Cuelenaere1-0/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18033 a1c6a512-1295-4272-9138-f99709370657
2008-07-14Add preliminary support for the Onda VX747 (MIPS target)Maurus Cuelenaere1-0/+94
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18032 a1c6a512-1295-4272-9138-f99709370657