Rev 1430 | Rev 2997 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1430 | Rev 1963 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | # define EVERGREEN_GRPH_FORMAT_8B_ARGB2101010 3 |
59 | # define EVERGREEN_GRPH_FORMAT_8B_ARGB2101010 3 |
60 | # define EVERGREEN_GRPH_FORMAT_BGRA1010102 4 |
60 | # define EVERGREEN_GRPH_FORMAT_BGRA1010102 4 |
61 | # define EVERGREEN_GRPH_FORMAT_8B_BGRA1010102 5 |
61 | # define EVERGREEN_GRPH_FORMAT_8B_BGRA1010102 5 |
62 | # define EVERGREEN_GRPH_FORMAT_RGB111110 6 |
62 | # define EVERGREEN_GRPH_FORMAT_RGB111110 6 |
63 | # define EVERGREEN_GRPH_FORMAT_BGR101111 7 |
63 | # define EVERGREEN_GRPH_FORMAT_BGR101111 7 |
- | 64 | # define EVERGREEN_GRPH_ARRAY_MODE(x) (((x) & 0x7) << 20) |
|
- | 65 | # define EVERGREEN_GRPH_ARRAY_LINEAR_GENERAL 0 |
|
- | 66 | # define EVERGREEN_GRPH_ARRAY_LINEAR_ALIGNED 1 |
|
- | 67 | # define EVERGREEN_GRPH_ARRAY_1D_TILED_THIN1 2 |
|
- | 68 | # define EVERGREEN_GRPH_ARRAY_2D_TILED_THIN1 4 |
|
64 | #define EVERGREEN_GRPH_SWAP_CONTROL 0x680c |
69 | #define EVERGREEN_GRPH_SWAP_CONTROL 0x680c |
65 | # define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0) |
70 | # define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0) |
66 | # define EVERGREEN_GRPH_ENDIAN_NONE 0 |
71 | # define EVERGREEN_GRPH_ENDIAN_NONE 0 |
67 | # define EVERGREEN_GRPH_ENDIAN_8IN16 1 |
72 | # define EVERGREEN_GRPH_ENDIAN_8IN16 1 |
68 | # define EVERGREEN_GRPH_ENDIAN_8IN32 2 |
73 | # define EVERGREEN_GRPH_ENDIAN_8IN32 2 |
Line 98... | Line 103... | ||
98 | #define EVERGREEN_GRPH_SURFACE_OFFSET_Y 0x6828 |
103 | #define EVERGREEN_GRPH_SURFACE_OFFSET_Y 0x6828 |
99 | #define EVERGREEN_GRPH_X_START 0x682c |
104 | #define EVERGREEN_GRPH_X_START 0x682c |
100 | #define EVERGREEN_GRPH_Y_START 0x6830 |
105 | #define EVERGREEN_GRPH_Y_START 0x6830 |
101 | #define EVERGREEN_GRPH_X_END 0x6834 |
106 | #define EVERGREEN_GRPH_X_END 0x6834 |
102 | #define EVERGREEN_GRPH_Y_END 0x6838 |
107 | #define EVERGREEN_GRPH_Y_END 0x6838 |
- | 108 | #define EVERGREEN_GRPH_UPDATE 0x6844 |
|
- | 109 | # define EVERGREEN_GRPH_SURFACE_UPDATE_PENDING (1 << 2) |
|
- | 110 | # define EVERGREEN_GRPH_UPDATE_LOCK (1 << 16) |
|
- | 111 | #define EVERGREEN_GRPH_FLIP_CONTROL 0x6848 |
|
- | 112 | # define EVERGREEN_GRPH_SURFACE_UPDATE_H_RETRACE_EN (1 << 0) |
|
Line 103... | Line 113... | ||
103 | 113 | ||
104 | /* CUR blocks at 0x6998, 0x7598, 0x10198, 0x10d98, 0x11998, 0x12598 */ |
114 | /* CUR blocks at 0x6998, 0x7598, 0x10198, 0x10d98, 0x11998, 0x12598 */ |
105 | #define EVERGREEN_CUR_CONTROL 0x6998 |
115 | #define EVERGREEN_CUR_CONTROL 0x6998 |
106 | # define EVERGREEN_CURSOR_EN (1 << 0) |
116 | # define EVERGREEN_CURSOR_EN (1 << 0) |
Line 149... | Line 159... | ||
149 | #define EVERGREEN_DC_LUT_WHITE_OFFSET_RED 0x6a18 |
159 | #define EVERGREEN_DC_LUT_WHITE_OFFSET_RED 0x6a18 |
Line 150... | Line 160... | ||
150 | 160 | ||
151 | #define EVERGREEN_DATA_FORMAT 0x6b00 |
161 | #define EVERGREEN_DATA_FORMAT 0x6b00 |
152 | # define EVERGREEN_INTERLEAVE_EN (1 << 0) |
162 | # define EVERGREEN_INTERLEAVE_EN (1 << 0) |
- | 163 | #define EVERGREEN_DESKTOP_HEIGHT 0x6b04 |
|
- | 164 | #define EVERGREEN_VLINE_START_END 0x6b08 |
|
- | 165 | #define EVERGREEN_VLINE_STATUS 0x6bb8 |
|
Line 153... | Line 166... | ||
153 | #define EVERGREEN_DESKTOP_HEIGHT 0x6b04 |
166 | # define EVERGREEN_VLINE_STAT (1 << 12) |
154 | 167 | ||
Line 155... | Line 168... | ||
155 | #define EVERGREEN_VIEWPORT_START 0x6d70 |
168 | #define EVERGREEN_VIEWPORT_START 0x6d70 |
Line 162... | Line 175... | ||
162 | #define EVERGREEN_CRTC3_REGISTER_OFFSET (0x111f0 - 0x6df0) |
175 | #define EVERGREEN_CRTC3_REGISTER_OFFSET (0x111f0 - 0x6df0) |
163 | #define EVERGREEN_CRTC4_REGISTER_OFFSET (0x11df0 - 0x6df0) |
176 | #define EVERGREEN_CRTC4_REGISTER_OFFSET (0x11df0 - 0x6df0) |
164 | #define EVERGREEN_CRTC5_REGISTER_OFFSET (0x129f0 - 0x6df0) |
177 | #define EVERGREEN_CRTC5_REGISTER_OFFSET (0x129f0 - 0x6df0) |
Line 165... | Line 178... | ||
165 | 178 | ||
- | 179 | /* CRTC blocks at 0x6df0, 0x79f0, 0x105f0, 0x111f0, 0x11df0, 0x129f0 */ |
|
166 | /* CRTC blocks at 0x6df0, 0x79f0, 0x105f0, 0x111f0, 0x11df0, 0x129f0 */ |
180 | #define EVERGREEN_CRTC_V_BLANK_START_END 0x6e34 |
167 | #define EVERGREEN_CRTC_CONTROL 0x6e70 |
181 | #define EVERGREEN_CRTC_CONTROL 0x6e70 |
- | 182 | # define EVERGREEN_CRTC_MASTER_EN (1 << 0) |
|
- | 183 | # define EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE (1 << 24) |
|
- | 184 | #define EVERGREEN_CRTC_STATUS 0x6e8c |
|
- | 185 | #define EVERGREEN_CRTC_STATUS_POSITION 0x6e90 |
|
168 | # define EVERGREEN_CRTC_MASTER_EN (1 << 0) |
186 | #define EVERGREEN_MASTER_UPDATE_MODE 0x6ef8 |
Line 169... | Line 187... | ||
169 | #define EVERGREEN_CRTC_UPDATE_LOCK 0x6ed4 |
187 | #define EVERGREEN_CRTC_UPDATE_LOCK 0x6ed4 |
170 | 188 | ||
171 | #define EVERGREEN_DC_GPIO_HPD_MASK 0x64b0 |
189 | #define EVERGREEN_DC_GPIO_HPD_MASK 0x64b0 |