summaryrefslogtreecommitdiff
path: root/firmware/target/arm/rk27xx/rk27generic/lcd-target.h
diff options
context:
space:
mode:
authorAndrew Ryabinin <ryabinin.a.a@gmail.com>2012-09-25 11:41:12 +0400
committerMarcin Bukat <marcin.bukat@gmail.com>2012-09-27 09:42:44 +0200
commit84134f737fc4643cad5eb50fef3bae0df657f054 (patch)
treeb2b0b28a4723a2eef9a340f6bc7a18e796ab1b5b /firmware/target/arm/rk27xx/rk27generic/lcd-target.h
parentf636aa07dfb541b5828d44e8168e7b36e5ad8898 (diff)
downloadrockbox-84134f737fc4643cad5eb50fef3bae0df657f054.tar.gz
rockbox-84134f737fc4643cad5eb50fef3bae0df657f054.zip
rk27xx lcd code rework
Use DMA engine for fullscreen updates and bypass mode for partial updates. This gives major boost on rk27generic: default ARM:AHB:APB 200:100:50 HEAD 1/1: 26.3fps 1/4: 105.0fps patched 1/1: 116.5fps 1/4: 249.5fps with freq scalling NORMAL mode ARM:AHB:APB 50:50:50 HEAD 1/1: 13.1fps 1/4: 52.5fps patched 1/1: 54.5fps 1/4: 119.0fps Tested on rk27generic noname DAP and on Hifimans. Change-Id: Id9dd4d2d61542c7ea6b5c6336b170d6357cefde9
Diffstat (limited to 'firmware/target/arm/rk27xx/rk27generic/lcd-target.h')
-rw-r--r--firmware/target/arm/rk27xx/rk27generic/lcd-target.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/firmware/target/arm/rk27xx/rk27generic/lcd-target.h b/firmware/target/arm/rk27xx/rk27generic/lcd-target.h
new file mode 100644
index 0000000000..ec139e1002
--- /dev/null
+++ b/firmware/target/arm/rk27xx/rk27generic/lcd-target.h
@@ -0,0 +1,26 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2012 Andrew Ryabinin
10 *
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#ifndef LCD_TARGET_H
22#define LCD_TARGET_H
23
24#define LCD_DATABUS_WIDTH LCDIF_18BIT
25
26#endif