Re: [PATCH 01/20] media: iris: Skip destroying internal buffer if not dequeued

From: Bryan O'Donoghue
Date: Wed Apr 16 2025 - 08:12:20 EST


On 15/04/2025 05:58, Dikshita Agarwal wrote:
Although firmware makes sure that during session close, all buffers are
returned to driver and driver will release them but still we shouldn't rely
for this on firmware and should handle in driver.
Will fix this in next patch set.

Shouldn't we reset iris in this case ?

i.e. its a breaking of the software contract to have failed to have returned a buffer by - close.

Its not enough to free the memory on the APSS side as the remote end could still assume ownership of a buffer... right ?

---
bod