1 diff -urNp --exclude-from=/home/mitica/quintela/config/misc/dontdiff 2.4.19-rc3/drivers/video/radeonfb.c test/drivers/video/radeonfb.c
2 --- 2.4.19-rc3/drivers/video/radeonfb.c 2002-07-22 18:43:34.000000000 +0200
3 +++ test/drivers/video/radeonfb.c 2002-07-22 18:48:09.000000000 +0200
4 @@ -599,11 +599,6 @@ static int panel_yres __initdata = 0;
5 static char force_dfp __initdata = 0;
6 static struct radeonfb_info *board_list = NULL;
9 -static struct display_switch fbcon_radeon8;
16 @@ -2948,89 +2943,3 @@ int radeon_sleep_notify(struct pmu_sleep
18 #endif /* CONFIG_PMAC_PBOOK */
21 - * text console acceleration
25 -static void fbcon_radeon_bmove(struct display *p, int srcy, int srcx,
26 - int dsty, int dstx, int height, int width)
28 - struct radeonfb_info *rinfo = (struct radeonfb_info *)(p->fb_info);
29 - u32 dp_cntl = DST_LAST_PEL;
31 - srcx *= fontwidth(p);
32 - srcy *= fontheight(p);
33 - dstx *= fontwidth(p);
34 - dsty *= fontheight(p);
35 - width *= fontwidth(p);
36 - height *= fontheight(p);
42 - dp_cntl |= DST_Y_TOP_TO_BOTTOM;
48 - dp_cntl |= DST_X_LEFT_TO_RIGHT;
50 - radeon_fifo_wait(6);
51 - OUTREG(DP_GUI_MASTER_CNTL, (rinfo->dp_gui_master_cntl |
53 - GMC_SRC_DATATYPE_COLOR |
55 - DP_SRC_SOURCE_MEMORY));
56 - OUTREG(DP_WRITE_MSK, 0xffffffff);
57 - OUTREG(DP_CNTL, dp_cntl);
58 - OUTREG(SRC_Y_X, (srcy << 16) | srcx);
59 - OUTREG(DST_Y_X, (dsty << 16) | dstx);
60 - OUTREG(DST_HEIGHT_WIDTH, (height << 16) | width);
65 -static void fbcon_radeon_clear(struct vc_data *conp, struct display *p,
66 - int srcy, int srcx, int height, int width)
68 - struct radeonfb_info *rinfo = (struct radeonfb_info *)(p->fb_info);
71 - clr = attr_bgcol_ec(p, conp);
75 - srcx *= fontwidth(p);
76 - srcy *= fontheight(p);
77 - width *= fontwidth(p);
78 - height *= fontheight(p);
80 - radeon_fifo_wait(6);
81 - OUTREG(DP_GUI_MASTER_CNTL, (rinfo->dp_gui_master_cntl |
82 - GMC_BRUSH_SOLID_COLOR |
83 - GMC_SRC_DATATYPE_COLOR |
85 - OUTREG(DP_BRUSH_FRGD_CLR, clr);
86 - OUTREG(DP_WRITE_MSK, 0xffffffff);
87 - OUTREG(DP_CNTL, (DST_X_LEFT_TO_RIGHT | DST_Y_TOP_TO_BOTTOM));
88 - OUTREG(DST_Y_X, (srcy << 16) | srcx);
89 - OUTREG(DST_WIDTH_HEIGHT, (width << 16) | height);
94 -#ifdef FBCON_HAS_CFB8
95 -static struct display_switch fbcon_radeon8 = {
96 - setup: fbcon_cfb8_setup,
97 - bmove: fbcon_radeon_bmove,
98 - clear: fbcon_radeon_clear,
99 - putc: fbcon_cfb8_putc,
100 - putcs: fbcon_cfb8_putcs,
101 - revc: fbcon_cfb8_revc,
102 - clear_margins: fbcon_cfb8_clear_margins,
103 - fontwidthmask: FONTWIDTH(4)|FONTWIDTH(8)|FONTWIDTH(12)|FONTWIDTH(16)