|
|
Log in / Subscribe / Register

media: mediatek: vcodec: support h264 extend vsi

From:  Yunfei Dong <yunfei.dong-AT-mediatek.com>
To:  NĂ­colas F . R . A . Prado <nfraprado-AT-collabora.com>, Sebastian Fricke <sebastian.fricke-AT-collabora.com>, Nicolas Dufresne <nicolas.dufresne-AT-collabora.com>, Hans Verkuil <hverkuil-cisco-AT-xs4all.nl>, AngeloGioacchino Del Regno <angelogioacchino.delregno-AT-collabora.com>, Benjamin Gaignard <benjamin.gaignard-AT-collabora.com>, Nathan Hebert <nhebert-AT-chromium.org>, Daniel Almeida <daniel.almeida-AT-collabora.com>
Subject:  [PATCH v8 0/3] media: mediatek: vcodec: support h264 extend vsi
Date:  Sat, 08 Mar 2025 15:47:54 +0800
Message-ID:  <20250308074802.18929-1-yunfei.dong@mediatek.com>
Cc:  Hsin-Yi Wang <hsinyi-AT-chromium.org>, Fritz Koenig <frkoenig-AT-chromium.org>, Daniel Vetter <daniel-AT-ffwll.ch>, Steve Cho <stevecho-AT-chromium.org>, Yunfei Dong <yunfei.dong-AT-mediatek.com>, <linux-media-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-mediatek-AT-lists.infradead.org>, <Project_Global_Chrome_Upstream_Group-AT-mediatek.com>
Archive-link:  Article

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

Re-construct some interface and add configuration to support extend
and non extend driver at the same time. Needn't to parse nal info for
extended architecture.
---
compared with v7:
- fix smatch warning for patch 2

compared with v6:
- fix the coding style for patch 2
- rewrite commit message for patch 2/3

compared with v5:
- add some parameters comment for patch 2

compared with v4:
- rebase this patch series with latest vcodec driver

compared with v3:
- change code logic with callback to decode for patch 2

compared with v2:
- squash patch 2/3/4 together
- re-write commit message for patch 1

compared with v1:
- combine some pathes together for patch 2
- re-write patch 4
---
Yunfei Dong (3):
  media: mediatek: vcodec: remove vsi operation in common interface
  media: mediatek: vcodec: support extended h264 decode
  media: mediatek: vcodec: add description for vsi struct

 .../vcodec/decoder/mtk_vcodec_dec_drv.h       |   2 +
 .../decoder/vdec/vdec_h264_req_multi_if.c     | 652 +++++++++++++++---
 2 files changed, 562 insertions(+), 92 deletions(-)

-- 
2.46.0




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds