Question about the MGA driver...

Egbert Eich eich at suse.de
Fri Mar 31 10:55:24 PST 2006


Ian Romanick writes:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA1
 > 
 > Does any one know why the MGA driver allows the config file to over-ride
 > the base address for the BARs?  There are separate options to over-ride
 > the base address of the framebuffer, MMIO region, and the ILOAD region.
 > 
 > Is there any case where this is actually necessary / a good idea?

A lot of drivers allowed to set the MemBase for non-PCI cards.
This was a generic option. In the mga driver it seems to be 
possible to use this to switch the basis to the base address
of another BAR. This seems to be odd - however if you look further
you will find that the driver contains code to set the base<>BAR
mapping depending on chipsets/revision. 
It's possilbe that people thought that not all existing chipset/revision
combos that required special treatment were supported and wanted to
make this configurable. 

Cheers,
	Egbert.



More information about the xorg mailing list