On Fri, Jun 17, 2016 at 1:45 PM, Rob Herring <r...@kernel.org> wrote: > Some gallium drivers have implemented reference counting of pipe_screen > to avoid creating multiple screens for a device. Move this into the > pipe-loader where it can be shared. > > Not completely sure, but it should not necessary to dup() the fd as > dri2_create_screen does that for us already.
Definitely necessary for nouveau, pretty sure for everyone. See commits a59f2bb17 and a98600b0eb. -ilia _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev