diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-03-18 00:08:24 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-03-18 00:08:24 +0000 |
commit | 21acdf371e3cf913c5affbd3e86641cfb115311c (patch) | |
tree | 58b4f3281feacae71653f0e90f8fc5e64c4ce592 /src/radeon_reg.h | |
parent | 323ecb92e40d71c5ef994b41b6d8dedba6dd6203 (diff) |
Clear the offsets when updating the memory map instead of when enabling the
CRTCs and try to make that code more reliable. Doesn't disable the
CRTCs beforehand.
Diffstat (limited to 'src/radeon_reg.h')
-rw-r--r-- | src/radeon_reg.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/radeon_reg.h b/src/radeon_reg.h index 48fccdf4..a18582df 100644 --- a/src/radeon_reg.h +++ b/src/radeon_reg.h @@ -364,6 +364,8 @@ # define RADEON_CRTC_OFFSET__OFFSET_LOCK (1<<31) #define RADEON_CRTC2_OFFSET 0x0324 +# define RADEON_CRTC2_OFFSET__GUI_TRIG_OFFSET (1<<30) +# define RADEON_CRTC2_OFFSET__OFFSET_LOCK (1<<31) #define RADEON_CRTC_OFFSET_CNTL 0x0228 # define RADEON_CRTC_TILE_LINE_SHIFT 0 # define RADEON_CRTC_TILE_LINE_RIGHT_SHIFT 4 @@ -392,6 +394,7 @@ #define R300_CRTC2_TILE_X0_Y0 0x0358 #define RADEON_CRTC2_OFFSET_CNTL 0x0328 +# define RADEON_CRTC2_OFFSET_FLIP_CNTL (1 << 16) # define RADEON_CRTC2_TILE_EN (1 << 15) #define RADEON_CRTC_PITCH 0x022c # define RADEON_CRTC_PITCH__SHIFT 0 |