summaryrefslogtreecommitdiff
path: root/src/radeon_reg.h
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2007-12-12 22:18:37 -0500
committerAlex Deucher <alex@samba.(none)>2007-12-12 22:18:37 -0500
commitf2b2e0804183b52d9d3f56ad85b3552ece76c544 (patch)
treec724cb40c8c2b54cd88f814dc9f597a5e0fbd8d1 /src/radeon_reg.h
parent372bf41818fdafc6a9d2914aee3a8e359f668f02 (diff)
RADEON: fix rotation on avivo chips
There are still some issues, but this is better than before.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r--src/radeon_reg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h
index 8737d2e7..e7ef9324 100644
--- a/src/radeon_reg.h
+++ b/src/radeon_reg.h
@@ -3390,6 +3390,7 @@
#define AVIVO_D1GRPH_X_END 0x6134
#define AVIVO_D1GRPH_Y_END 0x6138
#define AVIVO_D1GRPH_UPDATE 0x6144
+# define AVIVO_D1GRPH_UPDATE_LOCK (1<<16)
#define AVIVO_D1GRPH_FLIP_CONTROL 0x6148
#define AVIVO_D1CUR_CONTROL 0x6400
@@ -3421,12 +3422,15 @@
#define AVIVO_DC_LUTA_WHITE_OFFSET_RED 0x64d8
+#define AVIVO_D1MODE_DESKTOP_HEIGHT 0x652C
#define AVIVO_D1MODE_VIEWPORT_START 0x6580
#define AVIVO_D1MODE_VIEWPORT_SIZE 0x6584
#define AVIVO_D1MODE_EXT_OVERSCAN_LEFT_RIGHT 0x6588
#define AVIVO_D1MODE_EXT_OVERSCAN_TOP_BOTTOM 0x658c
#define AVIVO_D1SCL_SCALER_ENABLE 0x6590
+#define AVIVO_D1SCL_UPDATE 0x65cc
+# define AVIVO_D1SCL_UPDATE_LOCK (1<<16)
/* second crtc */
#define AVIVO_D2CRTC_H_TOTAL 0x6800