From 006d43ecb0d4c34f256df81fac9d9c2adbd5801d Mon Sep 17 00:00:00 2001 From: Anees Iqbal Date: Sun, 8 Nov 2026 18:15:37 -0800 Subject: [PATCH] HOWTO section 7: the RX 550's dma-buf planes are shadows for want of VK_EXT_image_drm_format_modifier RADV enables VK_EXT_image_drm_format_modifier on GFX9 and later only, so the RX 550 (POLARIS12) has no DRM_FORMAT_MOD_LINEAR image to import a dma-buf export's memory into: its dma-buf planes stay announced shadows. Doc only. (cherry picked from commit 6ff21171d8d228d1e22bdb072b65f67c85784187) --- docs/HOWTO.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/HOWTO.md b/docs/HOWTO.md index e9c77e17a..82960a09f 100644 --- a/docs/HOWTO.md +++ b/docs/HOWTO.md @@ -846,8 +846,9 @@ format query refuses the handle type, the layout differs, or the check did not p a 3840x2160 NV12 frame (an `R8Unorm` plane, then an `RG8Unorm` 1920x1080 plane, both rows 3840 bytes) made with `aligned_byte(0x20)`, its planes at 256 and 8,294,656 bytes of the memory, each plane's image answered row pitch 3840 and offset 0, with an alignment of 64 on lavapipe and 256 on -RADV (RX 550, opaque file descriptors). The RX 550 makes no `DRM_FORMAT_MOD_LINEAR` image, so its -dma-buf planes are shadows. +RADV (RX 550, opaque file descriptors). The RX 550 (RADV POLARIS12) enables no +`VK_EXT_image_drm_format_modifier`, so it has no image to import its dma-buf into, and its dma-buf +planes are announced shadows. The export settles the zeros the buffer was made with first, so the decoder may write at once. After each of its writes, once the consumer waited for them (`vaSyncSurface`), call