[v5,0/3] Venus dynamic debug
Message ID | 20200730095350.13925-1-stanimir.varbanov@linaro.org (mailing list archive) |
---|---|
Headers |
Received: from vger.kernel.org ([23.128.96.18]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from <linux-media-owner@vger.kernel.org>) id 1k15Bh-001Gyx-52; Thu, 30 Jul 2020 09:49:22 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726868AbgG3Jy1 (ORCPT <rfc822;mkrufky@linuxtv.org> + 1 other); Thu, 30 Jul 2020 05:54:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726832AbgG3Jy1 (ORCPT <rfc822;linux-media@vger.kernel.org>); Thu, 30 Jul 2020 05:54:27 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FE8BC061794 for <linux-media@vger.kernel.org>; Thu, 30 Jul 2020 02:54:26 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id r12so24229400wrj.13 for <linux-media@vger.kernel.org>; Thu, 30 Jul 2020 02:54:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=4ubq+0N6t4zFwdqdaV7a4c0lcWwdgP8nONkvvrGpptQ=; b=PxSV06nJbz2Wlj5+mD9+D4WtvW+WritueOAK7eJVvPy7tD85/ybAbCCVxdUiXjbbUK ScuX7ajaXYqpKHm+AUXXdkDtAGpMJHWLbGEQTwNSSjsJZyBW4tZk+7+YQwH0E95askF+ sc2fqR+q1vfK6m9pnv70O4ffrFaIbrOSsaO3tuTBmhOOFRXmF24IUNh0m5+rV31VDPEq /YvTti9nZt6jg7klOsBnMLwkc6+hoH8LQi17MrVNxsKuc0bTMW1MABI7Lx9POFSZ5JLB j8ZGwCnCwRYj3og1k5gy6B5giSW2cuSeT7u2uJ000I5L0oCE4GrnsU710W8lMuy5Vufm h7IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4ubq+0N6t4zFwdqdaV7a4c0lcWwdgP8nONkvvrGpptQ=; b=T/QpsCX0v3BimweVIsz5GJNM013NcWV4GVmqfOKUrBTDGsYeu3neoe5zAwr43U7Mtk LWeCLERHMHVH/BIebHYelJQr2Id6CU6TRRe6scti2PC++4Zb4pdK5AozHF3Op6/eqzzw wIVxsFCRVYfPYrbk3QbESJXmGehucY1K4orISIPcu5lfXRxUHqwRTgXCfJBVAia4bbcx MdsM1tbZrXrKho+BKIG7Ev+O21HsWJvEONWcijCyWIVtTx/QML68nxwMu3nXQJ96H8DM jOB1D2hivrJ8LYG6u0Gw0gfd/rv5XeX69LgbPBmgCYpoyJqyDqU2c4ILhZhPGi0DgRzt Lf9w== X-Gm-Message-State: AOAM532OK+7hDxC16cJcTi99FfYyABVrFEZJ6hQLT2RPBNztqkEdXa2E zD/yh3XfrGoYWkyYiIpduwMsMA== X-Google-Smtp-Source: ABdhPJz/1FPDcdLPnQfmmjxGfMlUz6eHMuyfbi/bHn38xXp8gJIV7CaRQ7aKFDXIjgL9rP5e9LYh4Q== X-Received: by 2002:adf:e6cc:: with SMTP id y12mr24219838wrm.391.1596102864884; Thu, 30 Jul 2020 02:54:24 -0700 (PDT) Received: from localhost.localdomain ([195.24.90.54]) by smtp.gmail.com with ESMTPSA id u1sm10623139wrb.78.2020.07.30.02.54.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jul 2020 02:54:24 -0700 (PDT) From: Stanimir Varbanov <stanimir.varbanov@linaro.org> To: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: jim.cromie@gmail.com, Joe Perches <joe@perches.com>, Jason Baron <jbaron@akamai.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Stanimir Varbanov <stanimir.varbanov@linaro.org> Subject: [PATCH v5 0/3] Venus dynamic debug Date: Thu, 30 Jul 2020 12:53:47 +0300 Message-Id: <20200730095350.13925-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,HEADER_FROM_DIFFERENT_DOMAINS=0.5,MAILING_LIST_MULTI=-1 autolearn=ham autolearn_force=no |
Message
Stanimir Varbanov
July 30, 2020, 9:53 a.m. UTC
Hello, Changes in v5: * 1/3 - dropped dev_warn when set FW debug level - Greg KH * 3/3 - dropped pr_debug, and now group levels by prefix in dev_dbg v4 can be fount at [1]. regards, Stan [1] https://www.spinics.net/lists/kernel/msg3550106.html Stanimir Varbanov (3): venus: Add debugfs interface to set firmware log level venus: Add a debugfs file for SSR trigger venus: Make debug infrastructure more flexible drivers/media/platform/qcom/venus/Makefile | 2 +- drivers/media/platform/qcom/venus/core.c | 3 ++ drivers/media/platform/qcom/venus/core.h | 8 +++ drivers/media/platform/qcom/venus/dbgfs.c | 51 +++++++++++++++++++ drivers/media/platform/qcom/venus/dbgfs.h | 12 +++++ drivers/media/platform/qcom/venus/helpers.c | 2 +- drivers/media/platform/qcom/venus/hfi_msgs.c | 18 +++---- drivers/media/platform/qcom/venus/hfi_venus.c | 10 ++-- .../media/platform/qcom/venus/pm_helpers.c | 2 +- drivers/media/platform/qcom/venus/vdec.c | 6 +-- 10 files changed, 96 insertions(+), 18 deletions(-) create mode 100644 drivers/media/platform/qcom/venus/dbgfs.c create mode 100644 drivers/media/platform/qcom/venus/dbgfs.h