[waffle] [PATCH] gbm: add WAFFLE_GBM_RENDER_NODE for multi-GPU systems
Marek Olšák
maraeo at gmail.com
Fri Sep 9 13:25:53 UTC 2016
On Fri, Sep 9, 2016 at 3:20 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Hi Marek,
>
> On 9 September 2016 at 14:14, Marek Olšák <maraeo at gmail.com> wrote:
>> From: Marek Olšák <marek.olsak at amd.com>
>>
>> ---
>> src/waffle/gbm/wgbm_display.c | 6 +++++-
>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>
>> diff --git a/src/waffle/gbm/wgbm_display.c b/src/waffle/gbm/wgbm_display.c
>> index 5c8af29..f622f39 100644
>> --- a/src/waffle/gbm/wgbm_display.c
>> +++ b/src/waffle/gbm/wgbm_display.c
>> @@ -104,9 +104,13 @@ static int
>> wgbm_get_default_fd(void)
>> {
>> int fd;
>> + const char *render_node = getenv("WAFFLE_GBM_RENDER_NODE");
>> +
> Using WAFFLE_GBM_DEVICE one can control the exact node/device they
> want to use. Does it not work for you ?
It works. I didn't know about that. Thanks.
Marek
More information about the waffle
mailing list