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)
This commit is contained in:
Anees Iqbal committed 2026-11-08 18:30:28 -08:00
1 parent 7b29073f8c
commit 006d43ecb0
1 file changed
+3 -2
+3 -2
View File
@@ -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