Skip to content

venus: properly check and fill ahb buffer properties

Yiwei Zhang requested to merge zzyiwei/mesa:ahb-buf-prop into main

When it comes to AHB, pExternalBufferInfo->handleType is already overridden to the renderer handle type. Thus the AHB buffer prop path is never returned. However, this is not hit by cts, vvl or apps.

In fact, cts checks it but only for the features bits, and luckily there’s no AHB violations returned from the host driver so far. So the “unsupported” code path is never hit.

Fixes: ebf0e455 ("venus: add ahb image and buffer properties query support")

Tests: no regressions for dEQP-VK.api.external.memory.android_hardware_buffer.*

/cc @olv @ryanneph

Edited by Yiwei Zhang

Merge request reports