Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 1 | /* |
| 2 | * ATI Frame Buffer Device Driver Core Definitions |
| 3 | */ |
Stefan Reinauer | 14e2277 | 2010-04-27 06:56:47 +0000 | [diff] [blame] | 4 | |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 5 | #define PLL_CRTC_DECODE 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 6 | |
| 7 | #define EINVAL -1 |
| 8 | |
Patrick Georgi | e166782 | 2012-05-05 15:29:32 +0200 | [diff] [blame] | 9 | #if CONFIG_CONSOLE_BTEXT |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 10 | /* |
| 11 | * Elements of the hardware specific atyfb_par structure |
| 12 | */ |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 13 | struct crtc { |
| 14 | u32 vxres; |
| 15 | u32 vyres; |
| 16 | u32 xoffset; |
| 17 | u32 yoffset; |
| 18 | u32 bpp; |
| 19 | u32 h_tot_disp; |
| 20 | u32 h_sync_strt_wid; |
| 21 | u32 v_tot_disp; |
| 22 | u32 v_sync_strt_wid; |
| 23 | u32 off_pitch; |
| 24 | u32 gen_cntl; |
| 25 | u32 dp_pix_width; /* acceleration */ |
| 26 | u32 dp_chain_mask; /* acceleration */ |
| 27 | }; |
Yinghai Lu | 97c4947 | 2004-04-28 05:37:36 +0000 | [diff] [blame] | 28 | #endif /* CONFIG_CONSOLE_BTEXT */ |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 29 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 30 | struct pll_514 { |
| 31 | u8 m; |
| 32 | u8 n; |
| 33 | }; |
| 34 | |
| 35 | struct pll_18818 |
| 36 | { |
| 37 | u32 program_bits; |
| 38 | u32 locationAddr; |
| 39 | u32 period_in_ps; |
| 40 | u32 post_divider; |
| 41 | }; |
| 42 | #endif |
| 43 | struct pll_ct { |
| 44 | u8 pll_ref_div; |
| 45 | u8 pll_gen_cntl; |
| 46 | u8 mclk_fb_div; |
| 47 | u8 mclk_fb_mult; /* 2 or 4 */ |
| 48 | u8 sclk_fb_div; |
| 49 | u8 pll_vclk_cntl; |
| 50 | u8 vclk_post_div; |
| 51 | u8 vclk_fb_div; |
| 52 | u8 pll_ext_cntl; |
| 53 | u8 spll_cntl2; |
| 54 | u32 dsp_config; /* Mach64 GTB DSP */ |
| 55 | u32 dsp_on_off; /* Mach64 GTB DSP */ |
| 56 | u8 mclk_post_div_real; |
| 57 | u8 xclk_post_div_real; |
| 58 | u8 vclk_post_div_real; |
| 59 | }; |
| 60 | |
| 61 | union aty_pll { |
| 62 | struct pll_ct ct; |
| 63 | #if 0 |
| 64 | struct pll_514 ibm514; |
| 65 | struct pll_18818 ics2595; |
| 66 | #endif |
| 67 | }; |
| 68 | |
| 69 | |
| 70 | /* |
| 71 | * The hardware parameters for each card |
| 72 | */ |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 73 | struct atyfb_par { |
Patrick Georgi | e166782 | 2012-05-05 15:29:32 +0200 | [diff] [blame] | 74 | #if CONFIG_CONSOLE_BTEXT |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 75 | struct crtc crtc; |
Yinghai Lu | 97c4947 | 2004-04-28 05:37:36 +0000 | [diff] [blame] | 76 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 77 | union aty_pll pll; |
| 78 | u32 accel_flags; |
| 79 | }; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 80 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 81 | struct aty_cursor { |
| 82 | int enable; |
| 83 | int on; |
| 84 | int vbl_cnt; |
| 85 | int blink_rate; |
| 86 | u32 offset; |
| 87 | struct { |
| 88 | u16 x, y; |
| 89 | } pos, hot, size; |
| 90 | u32 color[2]; |
| 91 | u8 bits[8][64]; |
| 92 | u8 mask[8][64]; |
| 93 | u8 *ram; |
| 94 | struct timer_list *timer; |
| 95 | }; |
| 96 | #endif |
| 97 | struct fb_info_aty { |
Patrick Georgi | e166782 | 2012-05-05 15:29:32 +0200 | [diff] [blame] | 98 | #if CONFIG_CONSOLE_BTEXT |
Yinghai Lu | 97c4947 | 2004-04-28 05:37:36 +0000 | [diff] [blame] | 99 | #if PLL_CRTC_DECODE==1 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 100 | struct fb_info fb_info; |
Yinghai Lu | 97c4947 | 2004-04-28 05:37:36 +0000 | [diff] [blame] | 101 | #endif |
| 102 | #endif |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 103 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 104 | struct fb_info_aty *next; |
| 105 | unsigned long ati_regbase_phys; |
| 106 | #endif |
Kevin Paul Herbert | bde6d30 | 2014-12-24 18:43:20 -0800 | [diff] [blame] | 107 | u8 *ati_regbase; |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 108 | #if 0 |
| 109 | unsigned long frame_buffer_phys; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 110 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 111 | unsigned long frame_buffer; |
| 112 | unsigned long clk_wr_offset; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 113 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 114 | struct pci_mmap_map *mmap_map; |
| 115 | struct aty_cursor *cursor; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 116 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 117 | struct aty_cmap_regs *aty_cmap_regs; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 118 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 119 | struct { u8 red, green, blue, pad; } palette[256]; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 120 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 121 | struct atyfb_par default_par; |
Yinghai Lu | 97c4947 | 2004-04-28 05:37:36 +0000 | [diff] [blame] | 122 | #if PLL_CRTC_DECODE==1 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 123 | struct atyfb_par current_par; |
| 124 | #endif |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 125 | |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 126 | u32 features; |
| 127 | u32 total_vram; |
| 128 | u32 ref_clk_per; |
| 129 | u32 pll_per; |
| 130 | u32 mclk_per; |
| 131 | u32 xclk_per; |
| 132 | u8 bus_type; |
| 133 | u8 ram_type; |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 134 | u8 mem_refresh_rate; |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 135 | #if 0 |
| 136 | struct aty_dac_ops *dac_ops; |
| 137 | struct aty_pll_ops *pll_ops; |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 138 | struct display disp; |
| 139 | struct display_switch dispsw; |
| 140 | #endif |
| 141 | |
| 142 | #if 0 |
| 143 | union { |
| 144 | #ifdef FBCON_HAS_CFB16 |
| 145 | u16 cfb16[16]; |
| 146 | #endif |
| 147 | #ifdef FBCON_HAS_CFB24 |
| 148 | u32 cfb24[16]; |
| 149 | #endif |
| 150 | #ifdef FBCON_HAS_CFB32 |
| 151 | u32 cfb32[16]; |
| 152 | #endif |
| 153 | } fbcon_cmap; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 154 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 155 | u8 blitter_may_be_busy; |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 156 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 157 | #ifdef __sparc__ |
| 158 | u8 mmaped; |
| 159 | int open; |
| 160 | int vtconsole; |
| 161 | int consolecnt; |
| 162 | #endif |
| 163 | #ifdef CONFIG_PMAC_PBOOK |
| 164 | unsigned char *save_framebuffer; |
| 165 | unsigned long save_pll[64]; |
| 166 | #endif |
| 167 | #endif |
| 168 | }; |
| 169 | |
| 170 | |
| 171 | /* |
| 172 | * ATI Mach64 features |
| 173 | */ |
| 174 | |
| 175 | #define M64_HAS(feature) ((info)->features & (M64F_##feature)) |
| 176 | |
| 177 | #define M64F_RESET_3D 0x00000001 |
| 178 | #define M64F_MAGIC_FIFO 0x00000002 |
| 179 | #define M64F_GTB_DSP 0x00000004 |
| 180 | #define M64F_FIFO_24 0x00000008 |
| 181 | #define M64F_SDRAM_MAGIC_PLL 0x00000010 |
| 182 | #define M64F_MAGIC_POSTDIV 0x00000020 |
| 183 | #define M64F_INTEGRATED 0x00000040 |
| 184 | #define M64F_CT_BUS 0x00000080 |
| 185 | #define M64F_VT_BUS 0x00000100 |
| 186 | #define M64F_MOBIL_BUS 0x00000200 |
| 187 | #define M64F_GX 0x00000400 |
| 188 | #define M64F_CT 0x00000800 |
| 189 | #define M64F_VT 0x00001000 |
| 190 | #define M64F_GT 0x00002000 |
| 191 | #define M64F_MAGIC_VRAM_SIZE 0x00004000 |
| 192 | #define M64F_G3_PB_1_1 0x00008000 |
| 193 | #define M64F_G3_PB_1024x768 0x00010000 |
| 194 | #define M64F_EXTRA_BRIGHT 0x00020000 |
| 195 | #define M64F_LT_SLEEP 0x00040000 |
| 196 | #define M64F_XL_DLL 0x00080000 |
| 197 | #define M64F_MFB_TIMES_4 0x00100000 |
| 198 | |
| 199 | |
| 200 | /* |
| 201 | * Register access |
| 202 | */ |
| 203 | |
| 204 | static inline u32 aty_ld_le32(int regindex, |
| 205 | const struct fb_info_aty *info) |
| 206 | { |
| 207 | /* Hack for bloc 1, should be cleanly optimized by compiler */ |
| 208 | if (regindex >= 0x400) |
| 209 | regindex -= 0x800; |
| 210 | |
Myles Watson | 0bc6154 | 2009-10-17 13:25:07 +0000 | [diff] [blame] | 211 | #ifdef ATARI |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 212 | return in_le32((volatile u32 *)(info->ati_regbase+regindex)); |
| 213 | #else |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 214 | return read32 (info->ati_regbase + regindex); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 215 | #endif |
| 216 | } |
| 217 | |
| 218 | static inline void aty_st_le32(int regindex, u32 val, |
| 219 | const struct fb_info_aty *info) |
| 220 | { |
| 221 | /* Hack for bloc 1, should be cleanly optimized by compiler */ |
| 222 | if (regindex >= 0x400) |
| 223 | regindex -= 0x800; |
| 224 | |
Myles Watson | 0bc6154 | 2009-10-17 13:25:07 +0000 | [diff] [blame] | 225 | #ifdef ATARI |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 226 | out_le32 (info->ati_regbase+regindex, val); |
| 227 | #else |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 228 | write32 (info->ati_regbase + regindex, val); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 229 | #endif |
| 230 | } |
| 231 | |
| 232 | static inline u16 aty_ld_le16(int regindex, |
| 233 | const struct fb_info_aty *info) |
| 234 | { |
| 235 | /* Hack for bloc 1, should be cleanly optimized by compiler */ |
| 236 | if (regindex >= 0x400) |
| 237 | regindex -= 0x800; |
| 238 | |
| 239 | #if defined(__mc68000__) |
| 240 | return le16_to_cpu(*((volatile u16 *)(info->ati_regbase+regindex))); |
| 241 | #else |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 242 | return read16 (info->ati_regbase + regindex); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 243 | #endif |
| 244 | } |
| 245 | |
| 246 | static inline void aty_st_le16(int regindex, u16 val, |
| 247 | const struct fb_info_aty *info) |
| 248 | { |
| 249 | /* Hack for bloc 1, should be cleanly optimized by compiler */ |
| 250 | if (regindex >= 0x400) |
| 251 | regindex -= 0x800; |
| 252 | |
| 253 | #if defined(__mc68000__) |
| 254 | *((volatile u16 *)(info->ati_regbase+regindex)) = cpu_to_le16(val); |
| 255 | #else |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 256 | write16 (info->ati_regbase + regindex, val); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 257 | #endif |
| 258 | } |
| 259 | |
| 260 | static inline u8 aty_ld_8(int regindex, |
| 261 | const struct fb_info_aty *info) |
| 262 | { |
| 263 | /* Hack for bloc 1, should be cleanly optimized by compiler */ |
| 264 | if (regindex >= 0x400) |
| 265 | regindex -= 0x800; |
| 266 | |
Myles Watson | 0bc6154 | 2009-10-17 13:25:07 +0000 | [diff] [blame] | 267 | #ifdef ATARI |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 268 | return in_8 (info->ati_regbase + regindex); |
| 269 | #else |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 270 | return read8 (info->ati_regbase + regindex); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 271 | #endif |
| 272 | } |
| 273 | |
| 274 | static inline void aty_st_8(int regindex, u8 val, |
| 275 | const struct fb_info_aty *info) |
| 276 | { |
| 277 | /* Hack for bloc 1, should be cleanly optimized by compiler */ |
| 278 | if (regindex >= 0x400) |
| 279 | regindex -= 0x800; |
| 280 | |
Myles Watson | 0bc6154 | 2009-10-17 13:25:07 +0000 | [diff] [blame] | 281 | #ifdef ATARI |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 282 | out_8 (info->ati_regbase + regindex, val); |
| 283 | #else |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 284 | write8 (info->ati_regbase + regindex, val); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 285 | #endif |
| 286 | } |
| 287 | |
| 288 | static inline u8 aty_ld_pll(int offset, const struct fb_info_aty *info) |
| 289 | { |
| 290 | u8 res; |
| 291 | |
| 292 | /* write addr byte */ |
| 293 | aty_st_8(CLOCK_CNTL + 1, (offset << 2), info); |
| 294 | /* read the register value */ |
| 295 | res = aty_ld_8(CLOCK_CNTL + 2, info); |
| 296 | return res; |
| 297 | } |
| 298 | |
| 299 | /* |
| 300 | * CT family only. |
| 301 | */ |
| 302 | static inline void aty_st_pll(int offset, u8 val, |
| 303 | const struct fb_info_aty *info) |
| 304 | { |
| 305 | /* write addr byte */ |
| 306 | aty_st_8(CLOCK_CNTL + 1, (offset << 2) | PLL_WR_EN, info); |
| 307 | /* write the register value */ |
| 308 | aty_st_8(CLOCK_CNTL + 2, val, info); |
| 309 | aty_st_8(CLOCK_CNTL + 1, (offset << 2) & ~PLL_WR_EN, info); |
| 310 | } |
| 311 | |
| 312 | |
| 313 | /* |
| 314 | * DAC operations |
| 315 | */ |
| 316 | |
| 317 | #if 0 |
| 318 | |
| 319 | struct aty_dac_ops { |
| 320 | int (*set_dac)(const struct fb_info_aty *info, const union aty_pll *pll, |
| 321 | u32 bpp, u32 accel); |
| 322 | }; |
| 323 | extern const struct aty_dac_ops aty_dac_ibm514; /* IBM RGB514 */ |
| 324 | extern const struct aty_dac_ops aty_dac_ati68860b; /* ATI 68860-B */ |
| 325 | extern const struct aty_dac_ops aty_dac_att21c498; /* AT&T 21C498 */ |
| 326 | extern const struct aty_dac_ops aty_dac_unsupported; /* unsupported */ |
| 327 | static struct aty_dac_ops aty_dac_ct; /* Integrated */ |
| 328 | |
| 329 | #endif |
| 330 | |
| 331 | /* |
| 332 | * Clock operations |
| 333 | */ |
| 334 | |
| 335 | #if 0 |
| 336 | struct aty_pll_ops { |
| 337 | int (*var_to_pll)(const struct fb_info_aty *info, u32 vclk_per, u8 bpp, |
| 338 | union aty_pll *pll); |
| 339 | #if 0 |
| 340 | u32 (*pll_to_var)(const struct fb_info_aty *info, |
| 341 | const union aty_pll *pll); |
| 342 | void (*set_pll)(const struct fb_info_aty *info, const union aty_pll *pll); |
| 343 | #endif |
| 344 | }; |
| 345 | |
| 346 | #endif |
| 347 | |
| 348 | #if 0 |
| 349 | extern const struct aty_pll_ops aty_pll_ati18818_1; /* ATI 18818 */ |
| 350 | extern const struct aty_pll_ops aty_pll_stg1703; /* STG 1703 */ |
| 351 | extern const struct aty_pll_ops aty_pll_ch8398; /* Chrontel 8398 */ |
| 352 | extern const struct aty_pll_ops aty_pll_att20c408; /* AT&T 20C408 */ |
| 353 | extern const struct aty_pll_ops aty_pll_ibm514; /* IBM RGB514 */ |
| 354 | extern const struct aty_pll_ops aty_pll_unsupported; /* unsupported */ |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 355 | #endif |
| 356 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 357 | static struct aty_pll_ops aty_pll_ct; /* Integrated */ |
| 358 | |
| 359 | static void aty_set_pll_ct(const struct fb_info_aty *info, |
| 360 | const union aty_pll *pll); |
| 361 | |
| 362 | static void aty_calc_pll_ct(const struct fb_info_aty *info, |
| 363 | struct pll_ct *pll); |
| 364 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 365 | #if 0 |
| 366 | /* |
| 367 | * Hardware cursor support |
| 368 | */ |
| 369 | extern struct aty_cursor *aty_init_cursor(struct fb_info_aty *fb); |
| 370 | extern void atyfb_cursor(struct display *p, int mode, int x, int y); |
| 371 | extern void aty_set_cursor_color(struct fb_info_aty *fb); |
| 372 | extern void aty_set_cursor_shape(struct fb_info_aty *fb); |
| 373 | extern int atyfb_set_font(struct display *d, int width, int height); |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 374 | #endif |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 375 | /* |
| 376 | * Hardware acceleration |
| 377 | */ |
| 378 | |
| 379 | static inline void wait_for_fifo(u16 entries, const struct fb_info_aty *info) |
| 380 | { |
| 381 | while ((aty_ld_le32(FIFO_STAT, info) & 0xffff) > |
| 382 | ((u32)(0x8000 >> entries))); |
| 383 | } |
| 384 | |
| 385 | static inline void wait_for_idle(struct fb_info_aty *info) |
| 386 | { |
| 387 | wait_for_fifo(16, info); |
| 388 | while ((aty_ld_le32(GUI_STAT, info) & 1)!= 0); |
| 389 | info->blitter_may_be_busy = 0; |
| 390 | } |
Stefan Reinauer | 234454d | 2004-04-24 23:10:51 +0000 | [diff] [blame] | 391 | #if 0 |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 392 | extern void aty_reset_engine(const struct fb_info_aty *info); |
| 393 | extern void aty_init_engine(const struct atyfb_par *par, |
| 394 | struct fb_info_aty *info); |
Stefan Reinauer | 467a065 | 2010-04-25 14:37:18 +0000 | [diff] [blame] | 395 | extern void aty_rectfill(int dstx, int dsty, u32 width, u32 height, |
| 396 | u32 color, struct fb_info_aty *info); |
Stefan Reinauer | 3590242 | 2004-04-13 09:44:37 +0000 | [diff] [blame] | 397 | |
| 398 | |
| 399 | /* |
| 400 | * Text console acceleration |
| 401 | */ |
| 402 | |
| 403 | extern const struct display_switch fbcon_aty8; |
| 404 | extern const struct display_switch fbcon_aty16; |
| 405 | extern const struct display_switch fbcon_aty24; |
| 406 | extern const struct display_switch fbcon_aty32; |
| 407 | #endif |