From patchwork Wed Jun 7 13:58:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 13270737 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1D20AC77B7A for ; Wed, 7 Jun 2023 13:58:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239714AbjFGN6v (ORCPT ); Wed, 7 Jun 2023 09:58:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37636 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235779AbjFGN6u (ORCPT ); Wed, 7 Jun 2023 09:58:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D1DD1BD9 for ; Wed, 7 Jun 2023 06:58:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1620563723 for ; Wed, 7 Jun 2023 13:58:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CBDFC433EF; Wed, 7 Jun 2023 13:58:46 +0000 (UTC) Message-ID: <8ba16cbc-5ff5-067d-d9d5-c7bd51a6a4f7@xs4all.nl> Date: Wed, 7 Jun 2023 15:58:45 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 From: Hans Verkuil Subject: [GIT PULL FOR v6.5] v2: mediatek: vcodec: Add debugfs file for decode and encode To: Linux Media Mailing List Cc: Yunfei Dong Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The following changes since commit aafeeaf3d2a8a91a5407c774c578abec79dcff00: media: video-mux: update driver to active state (2023-05-26 10:58:18 +0100) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v6.5i for you to fetch changes up to c5db9c911bf37b1a211911acc51c7413ffb7ff9e: media: mediatek: vcodec: Add dbgfs help function (2023-06-07 12:14:17 +0200) Changes since v1: - update patch 3 to fix a smatch error (drop unnecessary NULL pointer check) ---------------------------------------------------------------- Tag branch ---------------------------------------------------------------- Yunfei Dong (8): 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 each context resolution information media: mediatek: vcodec: Get each instance format type media: mediatek: vcodec: Change dbgfs interface to support encode media: mediatek: vcodec: Add encode to support dbgfs media: mediatek: vcodec: Add dbgfs help function drivers/media/platform/mediatek/vcodec/Makefile | 6 ++ drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.c | 215 +++++++++++++++++++++++++++++++++++++++++++++++ drivers/media/platform/mediatek/vcodec/mtk_vcodec_dbgfs.h | 74 ++++++++++++++++ drivers/media/platform/mediatek/vcodec/mtk_vcodec_dec_drv.c | 4 + drivers/media/platform/mediatek/vcodec/mtk_vcodec_drv.h | 4 + drivers/media/platform/mediatek/vcodec/mtk_vcodec_enc_drv.c | 2 + drivers/media/platform/mediatek/vcodec/mtk_vcodec_util.c | 8 ++ drivers/media/platform/mediatek/vcodec/mtk_vcodec_util.h | 26 +++++- 8 files changed, 336 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