Re: [Mesa-dev] [PATCH 03/11] Loader: Add gpu selection code via DRI_PRIME.

2014-06-24 Thread Emil Velikov
On 19/06/14 04:27, Axel Davy wrote: > v2: Fix the leak of device_name > v3: Rebased > > It enables to use the DRI_PRIME env var to specify > which gpu to use. > Two syntax are supported: > If DRI_PRIME is 1 it means: take any other gpu than the default one. > If DRI_PRIME is the ID_PATH_TAG of a d

[Mesa-dev] [PATCH 03/11] Loader: Add gpu selection code via DRI_PRIME.

2014-06-18 Thread Axel Davy
v2: Fix the leak of device_name v3: Rebased It enables to use the DRI_PRIME env var to specify which gpu to use. Two syntax are supported: If DRI_PRIME is 1 it means: take any other gpu than the default one. If DRI_PRIME is the ID_PATH_TAG of a device: choose this device if possible. The ID_PATH_