[Mesa-dev] [PATCH 2/4] vl: add drm support for vl_screen

Liu, Leo Leo.Liu at amd.com
Fri Nov 6 10:01:15 PST 2015


>> +#if GALLIUM_STATIC_TARGETS
>> +   vscreen->pscreen = dd_create_screen(fd);
>> +#else
>> +   if (pipe_loader_drm_probe_fd(&vscreen->dev, fd)) {
>Add a dup() in the above. So that it reads
>
>if (pipe_loader_drm_probe_fd(&vscreen->dev, dup(fd))) {
>

The dup is handled is in st/va/context.c before calling vl_drm_screen_create

Regards,
Leo

>Thanks
>Emil


More information about the mesa-dev mailing list