linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6 RESEND] media: mediatek: vcodec: Add debugfs file for decode and encode
@ 2023-03-20 10:28 Yunfei Dong
  2023-03-20 10:28 ` [PATCH 1/6 RESEND] media: mediatek: vcodec: Add debugfs interface to get debug information Yunfei Dong
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Yunfei Dong @ 2023-03-20 10:28 UTC (permalink / raw)
  To: Yunfei Dong, Chen-Yu Tsai, Nicolas Dufresne, Hans Verkuil,
	AngeloGioacchino Del Regno, Benjamin Gaignard,
	Nícolas F . R . A . Prado
  Cc: Matthias Brugger, Hsin-Yi Wang, Fritz Koenig, Daniel Vetter,
	Steve Cho, linux-media, devicetree, linux-kernel,
	linux-arm-kernel, linux-mediatek,
	Project_Global_Chrome_Upstream_Group

Need to change kernel driver to open decode and encode debug log at current period,
it's very unreasonable. Adding debugfs common interface to support decode and encode,
using echo command to control debug log level and getting useful information for each
instance.

patch 1 add debugfs common interface.
patch 2~4 support decode.
patch 5~6 support encode
---
Yunfei Dong (6):
  media: mediatek: vcodec: Add debugfs interface to get debug
    information
  media: mediatek: vcodec: Add debug params to control different log
    level
  media: mediatek: vcodec: Add a debugfs file to get different useful
    information
  media: mediatek: vcodec: Get get each instance format type
  media: mediatek: vcodec: Change dbgfs interface to support encode
  media: mediatek: vcodec: Add encode to support dbgfs

 .../media/platform/mediatek/vcodec/Makefile   |   6 +
 .../mediatek/vcodec/mtk_vcodec_dbgfs.c        | 157 ++++++++++++++++++
 .../mediatek/vcodec/mtk_vcodec_dbgfs.h        |  48 ++++++
 .../mediatek/vcodec/mtk_vcodec_dec_drv.c      |   4 +
 .../platform/mediatek/vcodec/mtk_vcodec_drv.h |   4 +
 .../mediatek/vcodec/mtk_vcodec_enc_drv.c      |   2 +
 .../mediatek/vcodec/mtk_vcodec_util.c         |   8 +
 .../mediatek/vcodec/mtk_vcodec_util.h         |  25 ++-
 8 files changed, 251 insertions(+), 3 deletions(-)
 create mode 100644 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.c
 create mode 100644 drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.h

-- 
2.25.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2023-03-22 10:02 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-20 10:28 [PATCH 0/6 RESEND] media: mediatek: vcodec: Add debugfs file for decode and encode Yunfei Dong
2023-03-20 10:28 ` [PATCH 1/6 RESEND] media: mediatek: vcodec: Add debugfs interface to get debug information Yunfei Dong
2023-03-20 10:28 ` [PATCH 2/6 RESEND] media: mediatek: vcodec: Add debug params to control different log level Yunfei Dong
2023-03-20 10:28 ` [PATCH 3/6 RESEND] media: mediatek: vcodec: Add a debugfs file to get different useful information Yunfei Dong
2023-03-20 14:49   ` AngeloGioacchino Del Regno
2023-03-22  9:51     ` Yunfei Dong (董云飞)
2023-03-20 10:28 ` [PATCH 4/6 RESEND] media: mediatek: vcodec: Get get each instance format type Yunfei Dong
2023-03-20 10:28 ` [PATCH 5/6 RESEND] media: mediatek: vcodec: Change dbgfs interface to support encode Yunfei Dong
2023-03-20 10:28 ` [PATCH 6/6 RESEND] media: mediatek: vcodec: Add encode to support dbgfs Yunfei Dong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).