[PATCH v4 0/3] Venus dynamic debug

From: Stanimir Varbanov
Date: Sat Jun 13 2020 - 18:39:38 EST


Hello,

Time for v4 with following changes:
* 1/3 taken comments into account - Greg KH
* 2/3 kept the patch version from v2.

Cc: jim.cromie@xxxxxxxxx
Cc: Joe Perches <joe@xxxxxxxxxxx>
Cc: Jason Baron <jbaron@xxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

I decided to keep 2/3 as it was in v2 of the current patchset
where the grouping of KERN_DEBUG messages has been accomplished
by dynamic debug 'format' filter. Depending on how WIP patches
from Jim [1] will progress I'm ready to change that. Until then
I'd like to have a way to group the debug messages.
In case 2/3 is not accepted I'm willing to drop it from next
pull request.

v3 can be found at [2].

regards.
Stan

[1] https://lore.kernel.org/lkml/20200613155738.2249399-1-jim.cromie@xxxxxxxxx/T/#t
[2] https://lore.kernel.org/lkml/20200609104604.1594-1-stanimir.varbanov@xxxxxxxxxx/

Stanimir Varbanov (3):
venus: Add debugfs interface to set firmware log level
venus: Make debug infrastructure more flexible
venus: Add a debugfs file for SSR trigger

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 | 30 ++++-----
drivers/media/platform/qcom/venus/hfi_venus.c | 27 ++++++--
.../media/platform/qcom/venus/pm_helpers.c | 3 +-
drivers/media/platform/qcom/venus/vdec.c | 63 +++++++++++++++++--
drivers/media/platform/qcom/venus/venc.c | 4 ++
11 files changed, 172 insertions(+), 33 deletions(-)
create mode 100644 drivers/media/platform/qcom/venus/dbgfs.c
create mode 100644 drivers/media/platform/qcom/venus/dbgfs.h

--
2.17.1