vulkan/wsi/display: set displayName to the connector name in VkDisplayPropertiesKHR

Open AidoP requested to merge AidoP/mesa:radv_display_name into main

Similar to !446

Sets the VkDisplayPropertiesKHR.displayName field to the connector name as would be visible in /sys/class/drm/, such as eDP-1 or HDMI-A-1.

Does not attempt to parse EDID data as this would require scanning the base block, extensions blocks, handling multiple names (concatenation?) if present and validation to ensure the string is valid UTF-8 as per the Vulkan spec. Returning a NULL pointer for the string is valid and should be preferred to a placeholder name such as "monitor".

Merge request reports