Skip to content

radeonsi: really support eglExportDMABUFImageQueryMESA

Qiang Yu requested to merge yuq825/mesa:topic/modifier into main

For #11629

Test with:

radeonsi exported texture can't always be used by RADV compute, for example, when GFX8 and GFX9, texture enables DCC, but RADV does not support compute DCC. But RADV gfx pipeline support all textures. This expose the missing API for OpenGL to select modifiers for texture.

"ac/surface: fix radv import dmabuf from radeonsi" fixes RADV import texture as VK_IMAGE_TILING_OPTIMAL. So older GPU generation can use this workaround. Can be tested by de-comment #define USE_OPTIMAL 1 in the test code.

I haven't seen the case needing to add more modifiers to supported modifier list except gfx12 which need 256K_2D. We may add them later when need.

Depends on: !31657

Merge request reports

Loading