mirror of
https://github.com/X11Libre/xf86-video-ati.git
synced 2026-03-24 01:24:43 +00:00
Add registers to facilitate work with stereo 3d.
This commit is contained in:
@@ -337,13 +337,26 @@
|
||||
# define RADEON_CRTC2_H_TOTAL_SHIFT 0
|
||||
# define RADEON_CRTC2_H_DISP (0x01ff << 16)
|
||||
# define RADEON_CRTC2_H_DISP_SHIFT 16
|
||||
|
||||
#define RADEON_CRTC_OFFSET_RIGHT 0x0220
|
||||
#define RADEON_CRTC_OFFSET 0x0224
|
||||
# define RADEON_CRTC_OFFSET__GUI_TRIG_OFFSET (1<<30)
|
||||
# define RADEON_CRTC_OFFSET__OFFSET_LOCK (1<<31)
|
||||
|
||||
#define RADEON_CRTC2_OFFSET 0x0324
|
||||
#define RADEON_CRTC_OFFSET_CNTL 0x0228
|
||||
# define RADEON_CRTC_TILE_EN (1 << 15)
|
||||
# define RADEON_CRTC_TILE_LINE_SHIFT 0
|
||||
# define RADEON_CRTC_TILE_LINE_RIGHT_SHIFT 4
|
||||
# define RADEON_CRTC_TILE_EN_RIGHT (1 << 14)
|
||||
# define RADEON_CRTC_TILE_EN (1 << 15)
|
||||
# define RADEON_CRTC_STEREO_OFFSET_EN (1 << 17)
|
||||
|
||||
#define RADEON_CRTC2_OFFSET_CNTL 0x0328
|
||||
# define RADEON_CRTC2_TILE_EN (1 << 15)
|
||||
#define RADEON_CRTC_PITCH 0x022c
|
||||
# define RADEON_CRTC_PITCH__SHIFT 0
|
||||
# define RADEON_CRTC_PITCH__RIGHT_SHIFT 16
|
||||
|
||||
#define RADEON_CRTC2_PITCH 0x032c
|
||||
#define RADEON_CRTC_STATUS 0x005c
|
||||
# define RADEON_CRTC_VBLANK_SAVE (1 << 1)
|
||||
|
||||
Reference in New Issue
Block a user