diff --git a/src/intel/vulkan_hasvk/anv_device.c b/src/intel/vulkan_hasvk/anv_device.c index c242132..bb13b60 100644 --- a/src/intel/vulkan_hasvk/anv_device.c +++ b/src/intel/vulkan_hasvk/anv_device.c @@ -2248,13 +2248,11 @@ void anv_GetPhysicalDeviceQueueFamilyProperties2( case VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR: { VkQueueFamilyQueryResultStatusPropertiesKHR *prop = (VkQueueFamilyQueryResultStatusPropertiesKHR *)ext; - /* Result status queries require the queue's command streamer - * to write the query result to memory. The VCS seemingly - * cannot do a posted memory write. */ - prop->queryResultStatusSupport = - (queue_family->queueFlags & (VK_QUEUE_VIDEO_DECODE_BIT_KHR | - VK_QUEUE_VIDEO_ENCODE_BIT_KHR)) ? - VK_FALSE : VK_TRUE; + /* Result status queries need the queue's command streamer to + * write the result to memory, which every queue here can do: + * the video ones already write their encode feedback with the + * same MI_FLUSH_DW post-sync write. */ + prop->queryResultStatusSupport = VK_TRUE; break; } case VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR: {