* vesafb, intel_drv and gm45
[not found] <mailman.10.1300256962.7851.intel-gfx@lists.freedesktop.org>
@ 2011-03-16 6:34 ` Suresh Kumar
0 siblings, 0 replies; only message in thread
From: Suresh Kumar @ 2011-03-16 6:34 UTC (permalink / raw)
To: intel-gfx
[Continuing from IRC]
Hello all,
I have GM45 mobile chipset (PCI_CHIP_GM45_GM/0x2A42). And running Xorg
1.6.5, Intel driver 2.7.0 and kernel 2.6.29.
I need to use vesafb (bootsplash depends on it), and for some (legacy
code) reasons I can't immediately migrate the system to newer kernel
(or start using plymouth+KMS (KMS requires newer kernel?)).
The issue is, with vesafb built in and booting kernel with
"vga=0x317", X starts slow (by about 7 seconds) and then there after
every "xrandr -q" takes about 3+ seconds (without vesafb it takes
about ~ 100 ms). I notice that most of the time it spends is in
getting EDID information over I2C read/write (there are too many
I2CUDelay() calls). Starting X with "vesa_drv" works fine (presumably
it goes over VBE).
One hypothesis was "vesafb" makes some (BIOS) calls at start which
puts GM45 chipset under some condition which intel_drv is not able to
handle. To verify that I took up "intel-gpu-tools" and used it dump
registers and compare them with and without vesafb. Indeed there was
some difference (http://pastebin.com/gv9GXKAc) - VGACNTRL was enabled,
"display B" was enabled etc. Now before starting X, I used
"intel_reg_write" to restore them back to "ideal" condition (i.e., ==
register values without vesafb boot) and cross verified those values
as well. But the issue still persists. (though one strange thing I
notice is when I reset back those registers, the screen gets garbled,
especially when I manipulate VGACNTRL, Probably vesafb is still
holding onto it?)
Now that was a bummer, any other pointer to possible problematic areas
where I can look into would be nice.
Thanks,
Suresh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-03-16 6:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.10.1300256962.7851.intel-gfx@lists.freedesktop.org>
2011-03-16 6:34 ` vesafb, intel_drv and gm45 Suresh Kumar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox