61,6 → 61,11 |
# define EVERGREEN_GRPH_FORMAT_8B_BGRA1010102 5 |
# define EVERGREEN_GRPH_FORMAT_RGB111110 6 |
# define EVERGREEN_GRPH_FORMAT_BGR101111 7 |
# define EVERGREEN_GRPH_ARRAY_MODE(x) (((x) & 0x7) << 20) |
# define EVERGREEN_GRPH_ARRAY_LINEAR_GENERAL 0 |
# define EVERGREEN_GRPH_ARRAY_LINEAR_ALIGNED 1 |
# define EVERGREEN_GRPH_ARRAY_1D_TILED_THIN1 2 |
# define EVERGREEN_GRPH_ARRAY_2D_TILED_THIN1 4 |
#define EVERGREEN_GRPH_SWAP_CONTROL 0x680c |
# define EVERGREEN_GRPH_ENDIAN_SWAP(x) (((x) & 0x3) << 0) |
# define EVERGREEN_GRPH_ENDIAN_NONE 0 |
100,6 → 105,11 |
#define EVERGREEN_GRPH_Y_START 0x6830 |
#define EVERGREEN_GRPH_X_END 0x6834 |
#define EVERGREEN_GRPH_Y_END 0x6838 |
#define EVERGREEN_GRPH_UPDATE 0x6844 |
# define EVERGREEN_GRPH_SURFACE_UPDATE_PENDING (1 << 2) |
# define EVERGREEN_GRPH_UPDATE_LOCK (1 << 16) |
#define EVERGREEN_GRPH_FLIP_CONTROL 0x6848 |
# define EVERGREEN_GRPH_SURFACE_UPDATE_H_RETRACE_EN (1 << 0) |
|
/* CUR blocks at 0x6998, 0x7598, 0x10198, 0x10d98, 0x11998, 0x12598 */ |
#define EVERGREEN_CUR_CONTROL 0x6998 |
151,6 → 161,9 |
#define EVERGREEN_DATA_FORMAT 0x6b00 |
# define EVERGREEN_INTERLEAVE_EN (1 << 0) |
#define EVERGREEN_DESKTOP_HEIGHT 0x6b04 |
#define EVERGREEN_VLINE_START_END 0x6b08 |
#define EVERGREEN_VLINE_STATUS 0x6bb8 |
# define EVERGREEN_VLINE_STAT (1 << 12) |
|
#define EVERGREEN_VIEWPORT_START 0x6d70 |
#define EVERGREEN_VIEWPORT_SIZE 0x6d74 |
164,8 → 177,13 |
#define EVERGREEN_CRTC5_REGISTER_OFFSET (0x129f0 - 0x6df0) |
|
/* CRTC blocks at 0x6df0, 0x79f0, 0x105f0, 0x111f0, 0x11df0, 0x129f0 */ |
#define EVERGREEN_CRTC_V_BLANK_START_END 0x6e34 |
#define EVERGREEN_CRTC_CONTROL 0x6e70 |
# define EVERGREEN_CRTC_MASTER_EN (1 << 0) |
# define EVERGREEN_CRTC_DISP_READ_REQUEST_DISABLE (1 << 24) |
#define EVERGREEN_CRTC_STATUS 0x6e8c |
#define EVERGREEN_CRTC_STATUS_POSITION 0x6e90 |
#define EVERGREEN_MASTER_UPDATE_MODE 0x6ef8 |
#define EVERGREEN_CRTC_UPDATE_LOCK 0x6ed4 |
|
#define EVERGREEN_DC_GPIO_HPD_MASK 0x64b0 |