Files
linux-nv-oot/drivers/platform/tegra/dce/include/dce-debug-logging.h
jaiyasha c89da8defd DCE-KMD: Add support for logging infra
- Allocate DMA mapped buffer from DCE-KMD and pass it to DCE FW through
  admin-cmd calls.
- Add debugfs node to retrieve buffer data and print through seq file.
- Add support to clear log buffer

JIRA TDS-15963

Change-Id: Ied4ffe1df14c8db61cfe15e6442f55e8306530b8
Signed-off-by: jaiyasha <jaiyasha@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3117241
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: Mahesh Kumar <mahkumar@nvidia.com>
Tested-by: Mahesh Kumar <mahkumar@nvidia.com>
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
2025-07-24 10:20:35 +00:00

20 lines
539 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
*/
#ifndef DCE_DEBUG_LOGGING_H
#define DCE_DEBUG_LOGGING_H
#include <dce-os-types.h>
int dbg_dce_log_help_fops_open(struct inode *inode, struct file *file);
int dbg_dce_log_fops_open(struct inode *inode, struct file *file);
ssize_t dbg_dce_log_fops_write(struct file *file,
const char __user *user_buf,
size_t count, loff_t *ppos);
#endif /* DCE_DEBUG_LOGGING_H */