[PATCH v2 0/6] media: mediatek: vcodec: support h264 extend vsi

From: Yunfei Dong
Date: Tue Oct 15 2024 - 23:49:46 EST


The working buffer address start and end are calculated in kernel
side currently, can't calculate the address end if the driver only
getting the address file handle, not the real physical address. Need
to extend the vsi to calculate the address end in scp.

Re-construct some interface and add configuration to support extend
and non extend at the same time. Needn't to parse nal info for extend
architecture.
---
This patch series depends on:
[1] https://patchwork.kernel.org/project/linux-mediatek/cover/20241012064333.27269-1-yunfei.dong@xxxxxxxxxxxx

---
compared with v1:
- combine some pathes together for patch 2
- re-write patch 4
---
Yunfei Dong (4):
media: mediatek: vcodec: remove vsi operation in common interface
media: mediatek: vcodec: support extend h264 video shared information
media: mediatek: vcodec: support extend h264 driver
media: mediatek: vcodec: remove parse nal info in kernel

.../vcodec/decoder/mtk_vcodec_dec_drv.h | 2 +
.../decoder/vdec/vdec_h264_req_multi_if.c | 511 +++++++++++++++++-
2 files changed, 486 insertions(+), 27 deletions(-)

--
2.46.0