summaryrefslogtreecommitdiff
path: root/include/radeon.h
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2008-02-14 18:19:50 +0100
committerWolfgang Denk <wd@denx.de>2008-02-15 00:54:01 +0100
commit1b8607e1f7143548c6062c28371449ec69588c00 (patch)
tree2bc2fde2e1e5a78ae39278562c705230d746c34e /include/radeon.h
parent4124382de029d361162a4b8cecc773eb8f26e2a8 (diff)
downloadu-boot-imx-1b8607e1f7143548c6062c28371449ec69588c00.zip
u-boot-imx-1b8607e1f7143548c6062c28371449ec69588c00.tar.gz
u-boot-imx-1b8607e1f7143548c6062c28371449ec69588c00.tar.bz2
Extend ATI Radeon driver to support more video modes
Adds ATI Radeon 9200 support for 1280x1024, 1024x768, 800x600, 640x480 at 24, 16 and 8 bpp. Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include/radeon.h')
-rw-r--r--include/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/radeon.h b/include/radeon.h
index 3d11b05..35875f1 100644
--- a/include/radeon.h
+++ b/include/radeon.h
@@ -154,8 +154,10 @@
#define PALETTE_30_DATA 0x00B8
#define CRTC_H_TOTAL_DISP 0x0200
#define CRTC_H_SYNC_STRT_WID 0x0204
+#define CRTC_H_SYNC_POL (1 << 23)
#define CRTC_V_TOTAL_DISP 0x0208
#define CRTC_V_SYNC_STRT_WID 0x020C
+#define CRTC_V_SYNC_POL (1 << 23)
#define CRTC_VLINE_CRNT_VLINE 0x0210
#define CRTC_CRNT_FRAME 0x0214
#define CRTC_GUI_TRIG_VLINE 0x0218
@@ -749,6 +751,8 @@
#define NONSURF_AP1_SWP_16BPP (1 << 22)
#define NONSURF_AP1_SWP_32BPP (1 << 23)
+#define R200_SURF_TILE_COLOR_MACRO (1 << 16)
+
/* DEFAULT_SC_BOTTOM_RIGHT bit constants */
#define DEFAULT_SC_RIGHT_MAX (0x1fff << 0)
#define DEFAULT_SC_BOTTOM_MAX (0x1fff << 16)