[Mesa-dev] [PATCH] Don't set defaults for gallium and dri drivers

Matt Turner mattst88 at gmail.com
Mon Jan 23 09:37:02 PST 2012


On Mon, Jan 23, 2012 at 9:01 AM, Brian Paul <brian.e.paul at gmail.com> wrote:
> On Sat, Jan 21, 2012 at 8:47 PM, Matt Turner <mattst88 at gmail.com> wrote:
>> If you're building mesa, you know what drivers you want.
>> ---
>> I mentioned this on IRC and a couple of people agreed, we'd rather
>> not have to specify an empty list of drivers to not build either
>> gallium or dri drivers.
>
> I guess I don't follow what this means.  What drivers are build by
> default if nothing special is specified?
>
> -Brian

For Gallium, r300, r600, and swrast are built.

For DRI, configure selects what drivers it thinks should be built,
given the platform. It's an okay idea, but it results in a lot of
unnecessary code. Packagers surely know not to build i965 on PowerPC,
for instance. I don't think we need to encode this logic.

For instance, if I'm working on i965, one would think to configure
with ./configure --with-dri-drivers=i965, but this actually builds
i965, Gallium3D, r300g, r600g, and softpipe as well. Similarly if I
configured with ./configure --with-gallium-drivers=r300, I'd get
r300g, radeon, r200, i915, i965, nouvuea_vieux, and swrast.

Some people on IRC agreed that this behavior isn't what they want.

Matt


More information about the mesa-dev mailing list