radv: Move wsi initialization later in physical_device_init
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 18 Nov 2017 23:30:34 +0000 (15:30 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commitdf4fc684920840220bb1fb92281e40157b4db618
tree747cf9486af0c7d4f92f935c530315e6e0b6b2a3
parenta50f93ecfbfbf94d661f90119d304ae13fcea9c8
radv: Move wsi initialization later in physical_device_init

We need it to happen after memory type setup so that we can query memory
types in wsi_device_init.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/amd/vulkan/radv_device.c