mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-24 02:01:36 +03:00
bpmp: add support for virtual bpmp driver
Using this patch we are adding support for virtualised bpmp driver in nvidia-oot. JIRA ESLC-6885 Signed-off-by: Manish Bhardwaj <mbhardwaj@nvidia.com> Change-Id: Ia863055082f64dfcafdbba114816c56af2e7f640 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2781331 Reviewed-by: Sandeep Trasi <strasi@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
b01a848777
commit
1c7751c581
@@ -1,7 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/*
|
||||
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/dma-mapping.h>
|
||||
#include <linux/slab.h>
|
||||
@@ -83,14 +84,14 @@ static const char *get_filename(struct tegra_bpmp *bpmp,
|
||||
if (!root_path_buf)
|
||||
goto out;
|
||||
|
||||
root_path = dentry_path(bpmp->debugfs_mirror, root_path_buf,
|
||||
root_path = dentry_path_raw(bpmp->debugfs_mirror, root_path_buf,
|
||||
root_path_buf_len);
|
||||
if (IS_ERR(root_path))
|
||||
goto out;
|
||||
|
||||
root_len = strlen(root_path);
|
||||
|
||||
filename = dentry_path(file->f_path.dentry, buf, size);
|
||||
filename = dentry_path_raw(file->f_path.dentry, buf, size);
|
||||
if (IS_ERR(filename)) {
|
||||
filename = NULL;
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user