mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 19:08:03 +03:00
hasvk: Reject result status queries on the video decode queue.
Inline queries enabled by video_maintenance1 would just lock up my machine and I'm not sure a proper workaround exists. A few nits while here. Assisted-by: Claude
This commit is contained in:
1 parent
b0d1db9406
commit
0f70099a69
4 files changed
+21
-8
No files matched your search
@@ -2110,7 +2110,12 @@ void anv_GetPhysicalDeviceQueueFamilyProperties2(
|
||||
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR: {
|
||||
VkQueueFamilyQueryResultStatusPropertiesKHR *prop =
|
||||
(VkQueueFamilyQueryResultStatusPropertiesKHR *)ext;
|
||||
prop->queryResultStatusSupport = VK_TRUE;
|
||||
/* 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_FALSE : VK_TRUE;
|
||||
break;
|
||||
}
|
||||
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_VIDEO_PROPERTIES_KHR: {
|
||||
|
||||
Reference in new issue
Block a user