mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v4 0/3] media: mediatek: vcodec: support h264 extend vsi
@ 2024-11-08  3:40 Yunfei Dong
  2024-11-08  3:40 ` [PATCH v4 1/3] media: mediatek: vcodec: remove vsi operation in common interface Yunfei Dong
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Yunfei Dong @ 2024-11-08  3:40 UTC (permalink / raw)
  To: Nícolas F . R . A . Prado, Sebastian Fricke,
	Nicolas Dufresne, Hans Verkuil, AngeloGioacchino Del Regno,
	Benjamin Gaignard, Nathan Hebert
  Cc: Hsin-Yi Wang, Chen-Yu Tsai, Fritz Koenig, Daniel Vetter,
	Steve Cho, Yunfei Dong, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek,
	Project_Global_Chrome_Upstream_Group

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.
---
This patch series depends on:
[1] https://patchwork.kernel.org/project/linux-mediatek/cover/20240018033219.19804-1-yunfei.dong@mediatek.com

---
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     | 589 ++++++++++++++++--
 2 files changed, 524 insertions(+), 67 deletions(-)

-- 
2.46.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-11-14 10:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-08  3:40 [PATCH v4 0/3] media: mediatek: vcodec: support h264 extend vsi Yunfei Dong
2024-11-08  3:40 ` [PATCH v4 1/3] media: mediatek: vcodec: remove vsi operation in common interface Yunfei Dong
2024-11-14 10:15   ` AngeloGioacchino Del Regno
2024-11-08  3:40 ` [PATCH v4 2/3] media: mediatek: vcodec: support extended h264 decode Yunfei Dong
2024-11-14 10:15   ` AngeloGioacchino Del Regno
2024-11-08  3:40 ` [PATCH v4 3/3] media: mediatek: vcodec: add description for vsi struct Yunfei Dong
2024-11-14 10:15   ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®