<div dir="ltr">fixed<br></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 10, 2018 at 12:58 PM Erik Faye-Lund <<a href="mailto:erik.faye-lund@collabora.com">erik.faye-lund@collabora.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 2018-12-10 at 11:04 -0600, Jason Ekstrand wrote:<br>
> The Vulkan working group recently discovered that we made a mistake<br>
> in<br>
> assuming that PCI domains are 16-bit even though they can potentially<br>
> be<br>
> 32-bit values. To fix this, the next spec update will chang the <br>
<br>
chang -> change<br>
<br>
> types<br>
> in the VK_EXT_pci_bus_info struct to be 32 bits which will be a<br>
> backwards-incompatible change. Normally, Khronos tries very hard to<br>
> never make backwards incompatible changes to specs. Hopefully, the<br>
> extension is new enough (2 months) that there are no shipping apps<br>
> which<br>
> use the extension so this should be safe.<br>
> <br>
> This commit disables the extension for both anv and radv in mesa and<br>
> should be back-ported to 18.3 ASAP so we avoid any potential issues<br>
> with<br>
> new apps running on old drivers. I'll send out a commit (which we<br>
> can<br>
> also back-port to 18.3 if we really care) to re-enable the extension<br>
> in<br>
> both drivers once this week's spec update ships. The one known use<br>
> of<br>
> this extension is internal to mesa and will continue working with the<br>
> extension disabled and will naturally update when we get a new<br>
> header.<br>
> <br>
> Cc: "18.3" <<a href="mailto:mesa-stable@lists.freedesktop.org" target="_blank">mesa-stable@lists.freedesktop.org</a>><br>
> ---<br>
> src/amd/vulkan/radv_extensions.py | 2 +-<br>
> src/intel/vulkan/anv_extensions.py | 2 +-<br>
> 2 files changed, 2 insertions(+), 2 deletions(-)<br>
> <br>
> diff --git a/src/amd/vulkan/radv_extensions.py<br>
> b/src/amd/vulkan/radv_extensions.py<br>
> index d14169144f7..ecc1fca36c7 100644<br>
> --- a/src/amd/vulkan/radv_extensions.py<br>
> +++ b/src/amd/vulkan/radv_extensions.py<br>
> @@ -105,7 +105,7 @@ EXTENSIONS = [<br>
> Extension('VK_EXT_external_memory_dma_buf', 1, True),<br>
> Extension('VK_EXT_external_memory_host', 1,<br>
> 'device->rad_info.has_userptr'),<br>
> Extension('VK_EXT_global_priority', 1,<br>
> 'device->rad_info.has_ctx_priority'),<br>
> - Extension('VK_EXT_pci_bus_info', 1, True),<br>
> + Extension('VK_EXT_pci_bus_info', 1, False),<br>
> Extension('VK_EXT_sampler_filter_minmax', 1,<br>
> 'device->rad_info.chip_class >= CIK'),<br>
> Extension('VK_EXT_scalar_block_layout', 1,<br>
> 'device->rad_info.chip_class >= CIK'),<br>
> Extension('VK_EXT_shader_viewport_index_layer', 1, True),<br>
> diff --git a/src/intel/vulkan/anv_extensions.py<br>
> b/src/intel/vulkan/anv_extensions.py<br>
> index 7c81228f705..1c0b71a7c46 100644<br>
> --- a/src/intel/vulkan/anv_extensions.py<br>
> +++ b/src/intel/vulkan/anv_extensions.py<br>
> @@ -121,7 +121,7 @@ EXTENSIONS = [<br>
> Extension('VK_EXT_external_memory_dma_buf', 1, True),<br>
> Extension('VK_EXT_global_priority', 1,<br>
> 'device->has_context_priority'),<br>
> - Extension('VK_EXT_pci_bus_info', 1, True),<br>
> + Extension('VK_EXT_pci_bus_info', 1, False),<br>
> Extension('VK_EXT_scalar_block_layout', 1, True),<br>
> Extension('VK_EXT_shader_viewport_index_layer', 1, True),<br>
> Extension('VK_EXT_shader_stencil_export', 1,<br>
> 'device->info.gen >= 9'),<br>
<br>
</blockquote></div>