Re: [PATCH 1/4] media: venus: use dma_iova_size() to check the reserved IOVA size
From: Vikash Garodia
Date: Fri Nov 27 2026 - 07:41:35 EST
On 11/27/2026 5:28 PM, Marek Szyprowski wrote:
The IOVA reservation code compares dma_iova_state::__size directly with
the requested chunk size. __size is internal to the DMA IOVA API and may
carry flags in its upper bits, so use the dma_iova_size() accessor
instead.
Fixes: 953439251b59 ("media: venus: Fix iova allocation from restrict region")
Cc:stable@xxxxxxxxxxxxxxx # v7.4+
Signed-off-by: Marek Szyprowski<m.szyprowski@xxxxxxxxxxx>
---
drivers/media/platform/qcom/venus/core.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Reviewed-by: Vikash Garodia <vikash.garodia@xxxxxxxxxxxxxxxx>