drivers/video/console/fbcon.c の 1182 行付近の以下を削除。
-atomic_dec(&info->pixmap.count); -smp_mb__after_atomic_dec();
以下、2.6.3-mm1 での変更。
drivers/char/vt.c の 2015 行付近に以下を追加。
int orig_count; +#ifdef CONFIG_UNICON + /* added by Arthur Ma, for multiple font support */ + struct double_byte * doublebyte_default = NULL; +#define GB_LEFT 0x8000 +#define GB_RIGHT 0xc000 +#endif (中略) +#ifdef CONFIG_UNICON + /* added by Arthur Ma, for multiple font support */ + if (UniconFontManager != NULL) + doublebyte_default = UniconFontManager->getfont (vt->vc_num); +#endif currcons = vt->vc_num;
drivers/video/console/fbcon.c の 1157 行付近を以下のように変更。
-dst0 = info->pixmap.addr + fb_get_buffer_offset(info, size); +dst0 = fb_get_buffer_offset(info, &info->pixmap, size);
同 1178 行付近を以下のように変更。
-move_buf_aligned(info, dst, src, pitch, width, image->height); +fb_move_buf_aligned(info, &info->pixmap, dst, pitch, src, width, image->height);
とりあえずこれで問題ないみたい。
以下を当てて作成。
rivafb for 2.6 はまだこなれていないようなので、n にした。
前 | 2004年 2月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)