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
Rohit Athavale
ddcc6baad9
mediafoundation: Lock QP Map Buffer when in use, unlock after
...
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:08 -04:00
Roland Scheidegger
7e0c0ba08c
lavapipe: implement VK_EXT_sample_locations
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
Seems to pass all relevant lavapipe vk cts tests
zink-lavapipe fails, but it's broken in zink, update ci expectation
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37603 >
2025-09-30 01:13:29 +00:00
David Rosca
214a431caf
gallium/vl: Remove mpeg12 shader decoder
...
The decoder has been broken for years. It creates 3-plane video
buffer with RGB16 format for all three planes, which hasn't been
working since 243475b96c .
It also doesn't make sense anymore to use shader decoder for a codec
this old.
Acked-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37507 >
2025-09-29 10:47:02 +00:00
Konstantin Seurer
bb3e401cca
Revert "lavapipe/ci: Disable stack-use-after-return detection for ASan"
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
This reverts commit 44d161a7a0 .
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37416 >
2025-09-26 17:27:32 +00:00
Mike Blumenkrantz
b3b2daa28d
lavapipe: VK_KHR_copy_memory_indirect
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37589 >
2025-09-26 17:05:53 +00:00
Mike Blumenkrantz
010cd37e50
lavapipe: handle aspected depth/stencil memory->image HIC transfers
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37589 >
2025-09-26 17:05:52 +00:00
Mike Blumenkrantz
daa276b605
lavapipe: move copy_depth_box to lvp_image.c
...
no functional changes
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37589 >
2025-09-26 17:05:52 +00:00
Silvio Vilerino
d4f44edbff
mediafoundation: Use d3d12 extension set_video_encoder_max_async_queue_depth to save memory in low latency (no async/in flight frames)
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37565 >
2025-09-25 16:17:28 +00:00
Silvio Vilerino
0395dca6d6
mediafoundation: Use lower size estimations for compressed output bitstream sizes
...
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37565 >
2025-09-25 16:17:27 +00:00
Rhys Perry
bf9a3bfd86
rusticl: support NIR_DEBUG=progress_validation
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35069 >
2025-09-24 08:20:29 +00:00
Rhys Perry
20c316718c
rusticl: support NIR_DEBUG=invalidate_metadata/extended_validation
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35069 >
2025-09-24 08:20:29 +00:00
Qiang Yu
c334ade0c2
gallium: fix eglExportDMABUFImageQueryMESA crash for r600
...
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
r600 does not implement pipe_screen.resource_get_param, so
dri2_resource_get_param just return false here.
eglExportDMABUFImageQueryMESA has been changed to support
multi plane resource, so some emulated multi plane format
gets here and return NULL which causes following queries
with this return value crash.
Fixes: f416a52960 ("egl: refine dma buf export to support multi plane")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13921
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37503 >
2025-09-23 02:08:57 +00:00
Seán de Búrca
53040a1600
rusticl/kernel: remove mutexes from kernel structure
...
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37354 >
2025-09-22 10:57:46 +00:00
Seán de Búrca
c440beb171
rusticl/kernel: add Kernel::mut_ref_from_raw()
...
The OpenCL spec indicates that functions which modify `cl_kernel` are
not thread-safe, allowing us to handle those functions with standard
mutability.
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37354 >
2025-09-22 10:57:46 +00:00
Karol Herbst
6f41c62720
rusticl/mesa: make PipeScreen refcounted
...
Reviewed-by: Seán de Búrca <sdeburca@fastmail.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37377 >
2025-09-22 10:16:13 +00:00
Karol Herbst
501f59e159
rusticl/mesa: make PipeScreen transparent
...
Reviewed-by: Seán de Búrca <sdeburca@fastmail.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37377 >
2025-09-22 10:16:13 +00:00
Karol Herbst
f7fcd7ed5d
rusticl/mesa: rework Context creation
...
Reviewed-by: Seán de Búrca <sdeburca@fastmail.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37377 >
2025-09-22 10:16:12 +00:00
Karol Herbst
6a71ecaad7
rusticl/mesa: add PipeScreen::pipe
...
Reviewed-by: Seán de Búrca <sdeburca@fastmail.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37377 >
2025-09-22 10:16:11 +00:00