[Nouveau] Selecting supported chipsets in the driver?

Martin Peres martin.peres at free.fr
Fri Nov 29 06:13:46 PST 2013


Le 29/11/2013 14:17, Christ-Jan Wijtmans a écrit :
> so uhm, as far as i know in ATI drivers this is possible, why no nouveau?

Well, because we share a lot of code between chipsets and it would be a 
pain not to compile everything.

FYI, on Archlinux:
-rw-r--r-- 1 root root 379K 26 nov.  11:18 
/lib/modules/3.12.1-3-ARCH/kernel/drivers/gpu/drm/nouveau/nouveau.ko.gz
-rw-r--r-- 1 mupuf mupuf 1,5M 29 nov.  15:06 nouveau.ko
-rwxr-xr-x 1 root root 180K 16 nov.  16:00 
/usr/lib/xorg/modules/dri/nouveau_vieux_dri.so
-rwxr-xr-x 1 root root 6,5M 16 nov.  16:00 
/usr/lib/xorg/modules/dri/nouveau_dri.so

-rw-r--r-- 1 root root 583K 26 nov.  11:18 
/lib/modules/3.12.1-3-ARCH/kernel/drivers/gpu/drm/radeon/radeon.ko.gz
-rw-r--r-- 1 mupuf mupuf 2,2M 29 nov.  15:07 radeon.ko

-rw-r--r-- 1 root root 337K 26 nov.  11:18 
/lib/modules/3.12.1-3-ARCH/kernel/drivers/gpu/drm/i915/i915.ko.gz
-rw-r--r-- 1 mupuf mupuf 1,2M 29 nov.  15:08 i915.ko

So, the whole of nouveau weights a little more than 7MB. Even by floppy 
standards, it isn't huge! And I'm not talking about nvidia's driver that 
is WAY bigger.

So, If you manage to make a good patch a prove you can save a 
substential amount of space and that isn't a pain to maintain, then 
maybe we'll consider this.

Cheers,
Martin


More information about the Nouveau mailing list