Re: [Mesa-dev] [PATCH] vulkan/wsi: check if the display_fd given is master

2019-04-17 Thread Emil Velikov
On Wed, 17 Apr 2019 at 19:25, Bas Nieuwenhuizen wrote: > > This will not work as-is for radv, as failure to initialize from > wsi_display_init_wsi (->wsi_device_init -> radv_init_wsi) will cause > us to fail initializing the whole device. > Indeed - same applies across the board. I'll send out

Re: [Mesa-dev] [PATCH] vulkan/wsi: check if the display_fd given is master

2019-04-17 Thread Bas Nieuwenhuizen
This will not work as-is for radv, as failure to initialize from wsi_display_init_wsi (->wsi_device_init -> radv_init_wsi) will cause us to fail initializing the whole device. On Wed, Apr 17, 2019 at 7:02 PM Emil Velikov wrote: > > From: Emil Velikov > > As effectively required by the

[Mesa-dev] [PATCH] vulkan/wsi: check if the display_fd given is master

2019-04-17 Thread Emil Velikov
From: Emil Velikov As effectively required by the extension, we need to ensure we're master Currently drivers employ vendor specific solutions, which check if the device behind the fd is capable*, yet none of them do the master check. *In the radv case, if acceleration is available. Instead