Mel Henning
fafb81cd02
treewide: Use vk_collect_dependency_info_src_stages
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37961 >
2025-10-22 19:22:17 +00:00
Eric Engestrom
4ab65cdaa4
docs: update/fix vk spec urls
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37993 >
2025-10-22 09:23:34 +02:00
Konstantin Seurer
990f1868ec
vulkan/cmd_queue: Free all elements of struct arrays
...
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37710 >
2025-10-21 19:50:47 +02:00
Silvio Vilerino
44d8e999e2
mediafoundation: Also set pSyncObjectQueue = m_spStagingQueue when DX11 input sample
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:23:31 -07:00
Silvio Vilerino
d2cbbccaaa
mediafoundation: Only wait on pSyncObjectQueue for stats completion if any stat was enabled
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:23:27 -07:00
Silvio Vilerino
4f7aa40222
mediafoundation: Allocate pro-rated buffer sizes for multi-slice encoding
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:23:21 -07:00
Silvio Vilerino
b454c35318
mediafoundation: Only use sliced mode when CODECAPI_AVEncSliceGenerationMode is set, disregarding num slices configured
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:23:11 -07:00
Silvio Vilerino
71aecf4a93
mediafoundation: SliceGeneration=1: Zero copy IMFSample output with wrapped ID3D12Resource frame/slice buffers
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:23:06 -07:00
Silvio Vilerino
416398aecb
mediafoundation: Only attach stats to last slice mfsample
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:21:17 -07:00
Silvio Vilerino
80c8994455
mediafoundation: Add pLastSliceFence shortcircuit wait for auto slice mode async slices mode
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:21:12 -07:00
Silvio Vilerino
fd546c1cde
mediafoundation: Refactor frame, multi slice and combine slice IMFSample emission to make it simpler
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:21:07 -07:00
Silvio Vilerino
134274488d
mediafoundation: Attach stats deferred buffers to all samples for simplicity
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:55 -07:00
Silvio Vilerino
b4592bbb77
mediafoundation: Add some more trace logging
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:49 -07:00
Silvio Vilerino
43112ce1a4
mediafoundation: Emit multiple MFSamples per slice when CODECAPI_AVEncSliceGenerationMode = 1i
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:43 -07:00
Silvio Vilerino
3de675eef5
mediafoundation: Prepare for multi sample multi slice
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:38 -07:00
Silvio Vilerino
e612709141
mediafoundation: Add support for setting CODECAPI_AVEncSliceGenerationMode
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:21 -07:00
Silvio Vilerino
a6f84de5b0
mediafoundation: emit subregions samples before pAsyncFence wait to reduce latency
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:13 -07:00
Silvio Vilerino
4bc6ace7a1
mediafoundation: Attach async stats DXGI buffers without CPU fence wait
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:08 -07:00
Silvio Vilerino
d7384e9f65
mediafoundation: Set ConfigureBitstreamOutputSampleAttributes earlier for async subregion notifications do not need resolved metadata for it
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:20:03 -07:00
Silvio Vilerino
791a966510
mediafoundation: Add Resolve completion fence to stats IDXGIBuffers
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:19:55 -07:00
Silvio Vilerino
88492ee80b
mediafoundation: Helpers ConfigureBitstreamOutputSampleAttributes/ConfigureStatsMetadataOutputSampleAttributes
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:19:26 -07:00
Pohsiang (John) Hsu
932401ddf0
mediafoundation: add stats resource pool so we can use pool for QP map as well
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37982 >
2025-10-21 09:19:14 -07:00
Georg Lehmann
9e41a7c139
treewide: use nir_load_global alias of nir_build_load_global
...
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37959 >
2025-10-21 12:37:58 +02:00
Eric Engestrom
1773e2df50
ci: uprev vkd3d
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
0845d1b69c...03cca4cd97
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37960 >
2025-10-21 03:57:14 +00:00
Silvio Vilerino
a5af8866df
p_video_codec::encode_bitstream_sliced: Add last_slice_completion_fence for PIPE_VIDEO_SLICE_MODE_AUTO
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37936 >
2025-10-20 13:37:16 +00:00
David Rosca
09ff0fa005
frontends/va: Move remainig processing functions to postproc.c
...
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37545 >
2025-10-16 16:33:15 +00:00
David Rosca
7a5270d4df
frontends/va: Move decode functions to separate file
...
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37545 >
2025-10-16 16:33:15 +00:00
David Rosca
ba0a059129
frontends/va: Move encode functions to separate file
...
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37545 >
2025-10-16 16:33:15 +00:00
Tomeu Vizoso
836e1d65f6
teflon: Link to the ethos driver
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Acked-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36699 >
2025-10-15 20:10:15 +00:00
Tomeu Vizoso
b3262b37ce
teflon: Add support for the ResizeNearestNeighbor operation
...
Acked-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36699 >
2025-10-15 20:10:15 +00:00
Tomeu Vizoso
0001dab219
teflon: Add support for the StridedSlice operation
...
Acked-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36699 >
2025-10-15 20:10:14 +00:00
Tomeu Vizoso
83b9eb038f
teflon: Add support for the MaxPool operation
...
Acked-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36699 >
2025-10-15 20:10:13 +00:00
David Rosca
69717c257f
vl,frontends/va: Implement gamma and primaries conversion
...
This enables basic HDR support.
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37058 >
2025-10-15 06:06:44 +00:00
David Rosca
5bc0df5aad
vl,frontends/va: Implement YUV->YUV matrix coeff conversion
...
Use separate matrix for YUV->RGB and RGB->YUV conversions.
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37058 >
2025-10-15 06:06:44 +00:00
David Rosca
6e8a8d8ee7
frontends/va: Stop using vpp colors standard
...
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37058 >
2025-10-15 06:06:44 +00:00
David Rosca
27a3911460
frontends/va: Always advertise explicit color standard support
...
This has nothing to do with HDR support.
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37058 >
2025-10-15 06:06:44 +00:00
David Rosca
9393a0510b
frontends/va: Use new RGB YUV conversion matrix
...
This adds support for SMPTE240M, BT2020 and RGB->YUV conversion for
all color standards and color ranges.
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37058 >
2025-10-15 06:06:44 +00:00
David Rosca
a284bff8ad
frontends/va: Set color properties when not using explicit color standard
...
Acked-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37058 >
2025-10-15 06:06:44 +00:00
David Rosca
add5074460
frontends/va: Add VP9 use_prev_frame_mvs and segmentation_update_data flags
...
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37808 >
2025-10-13 08:11:55 +00:00
David Rosca
6531f060dd
frontends/va: Fix parsing VP9 frame header
...
Fix parsing intra only frames with profile 0. Change type to
signed int and initialize default values for ref_deltas and
mode_deltas.
Cc: mesa-stable
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37808 >
2025-10-13 08:11:55 +00:00
Pohsiang (John) Hsu
03baa8ac72
mediafoundation: remove extra ';'
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37820 >
2025-10-10 09:36:44 -07:00
Pohsiang (John) Hsu
eb088e339f
mediafoundation: periodic clang format - no code changes
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37820 >
2025-10-10 09:36:13 -07:00
Pohsiang (John) Hsu
d35735b32d
mediafoundation: create sample allocator for SW input sample on demand to save video memory
...
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37820 >
2025-10-10 09:35:58 -07:00
Silvio Vilerino
5061b7ba1a
mediafoundation: mftransform async slices parsing, avoid heap allocation inside loop
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37820 >
2025-10-10 09:34:39 -07:00
Valentine Burley
1bca7ca3e0
ci: Rename ANDROID_GPU_MODE to CUTTLEFISH_GPU_MODE
...
Makes the variable name more clear.
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37738 >
2025-10-08 09:25:24 +00:00
Jesse Natalie
9bab6eb596
wgl: Fix zink depth buffers
...
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37644 >
2025-10-06 23:54:09 +00:00
Juan A. Suarez Romero
d775f3b608
ci: uprev VKCTS to 1.4.3.3
...
Reviewed-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37620 >
2025-10-06 21:53:39 +00:00
David Rosca
b25c40b857
frontends/va: Use resource_get_param instead of resource_get_info
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37628 >
2025-10-06 07:11:09 +00:00
Sil Vilerino
700ccea319
mediafoundation: Implement video encode spatial adaptive quantization interface
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37581 >
2025-10-01 14:46:31 -04:00
Sil Vilerino
3ba07819aa
mediafoundation: Remove Agility v717 guards for features now available in v618
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37581 >
2025-10-01 14:46:28 -04:00