Re: [PATCHv2 2/2] media: venus: sync with threaded IRQ during inst destruction

From: Bryan O'Donoghue
Date: Thu Oct 24 2024 - 06:52:48 EST


On 24/10/2024 11:08, Sergey Senozhatsky wrote:
On (24/10/24 10:43), Bryan O'Donoghue wrote:
It also occurs to me that most of the close() operation code is shared
between venc_close() and vdec_close() a welcome patch for V3 would be to
functionally decompose the common code to a shared location.

Any preferences where that "shared location" should be?

Probably core.c is the only place we can jam stuff to be shared

Ack.

So, we need to
- export a couple of symbols
- include vdec header in core

Does something like this look OK to you?
y lgtm

---
bod