From: Petr V. <VAN...@vc...> - 2003-12-01 16:14:13
|
On 1 Dec 03 at 17:02, Svetoslav Slavtchev wrote: > > is this a matroxfb bug ? Maybe. But I'd say that you broke fbdev API matroxfb expects. > > matroxfb: MTRR's turned on > > matroxfb: 1024x768x16bpp (virtual: 1024x65536) > > fbcon_startup: res: 1024x0-16 Like that you are somewhere truncating values to 16 bits?! Thus 65536 == 0 in your arithmetic... And as matroxfb's code does if (var->yres_virtual > 32767) var->yres_virtual = 32767; it is impossible for yres_virtual to ever become 65536... Besides that for 1024x65536/16bpp you need 128MB of videoram, and G550 can have only 32MB. So you screwed something a lot. You should get matroxfb: Matrox G550 detected matroxfb: MTRR's turned on matroxfb: 1024x768x16bpp (virtual: 1024x8190) matroxfb: framebuffer at 0xDA000000, mapped to 0xe0810000, size 33554432 Console: switching to colour frame buffer device 128x48 fb0: MATROX frame buffer device I'd say that if you want support from me, you should use my code... I have no idea what you are doing in your tree, but you are apparently doing wrong things... Petr Vandrovec |