summaryrefslogtreecommitdiff
path: root/mali_kbase/mali_kbase_mem_profile_debugfs.h
diff options
context:
space:
mode:
authorSiddharth Kapoor <ksiddharth@google.com>2022-03-02 14:51:29 +0800
committerSiddharth Kapoor <ksiddharth@google.com>2022-03-02 14:51:29 +0800
commit88d7d984fed1c2a4358ce2bbc334e82d71e3a391 (patch)
tree18f20402a0ed15ae9fe62b29a9957922ebcc2ada /mali_kbase/mali_kbase_mem_profile_debugfs.h
parent0207d6c3b7a2002f15c60d08617e956faf5ba90c (diff)
downloadgpu-88d7d984fed1c2a4358ce2bbc334e82d71e3a391.tar.gz
Mali Valhall Android DDK r36p0 KMD
Provenance: 9f72c118d9 (ipdelivery/EAC/v_r36p0) VX504X08X-BU-00000-r36p0-01eac0 - Valhall Android DDK VX504X08X-BU-60000-r36p0-01eac0 - Valhall Android Document Bundle VX504X08X-DC-11001-r36p0-01eac0 - Valhall Android DDK Software Errata VX504X08X-SW-99006-r36p0-01eac0 - Valhall Android Renderscript AOSP parts Signed-off-by: Siddharth Kapoor <ksiddharth@google.com> Change-Id: I4a63b707fedc68d7b7d046596c7098da47a139cb
Diffstat (limited to 'mali_kbase/mali_kbase_mem_profile_debugfs.h')
-rw-r--r--mali_kbase/mali_kbase_mem_profile_debugfs.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/mali_kbase/mali_kbase_mem_profile_debugfs.h b/mali_kbase/mali_kbase_mem_profile_debugfs.h
index 093a65e..c30fca6 100644
--- a/mali_kbase/mali_kbase_mem_profile_debugfs.h
+++ b/mali_kbase/mali_kbase_mem_profile_debugfs.h
@@ -1,7 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
*
- * (C) COPYRIGHT 2012-2016, 2020-2021 ARM Limited. All rights reserved.
+ * (C) COPYRIGHT 2012-2016, 2020-2022 ARM Limited. All rights reserved.
*
* This program is free software and is provided to you under the terms of the
* GNU General Public License version 2 as published by the Free Software
@@ -20,7 +20,7 @@
*/
/**
- * Header file for mem profiles entries in debugfs
+ * DOC: Header file for mem profiles entries in debugfs
*
*/
@@ -31,13 +31,16 @@
#include <linux/seq_file.h>
/**
- * Remove entry from Mali memory profile debugfs
+ * kbasep_mem_profile_debugfs_remove - Remove entry from Mali memory profile debugfs
+ *
* @kctx: The context whose debugfs file @p data should be removed from
*/
void kbasep_mem_profile_debugfs_remove(struct kbase_context *kctx);
/**
- * Insert @p data to the debugfs file so it can be read by userspace
+ * kbasep_mem_profile_debugfs_insert - Insert @p data to the debugfs file
+ * so it can be read by userspace
+ *
* @kctx: The context whose debugfs file @p data should be inserted to
* @data: A NULL-terminated string to be inserted to the debugfs file,
* without the trailing new line character
@@ -49,8 +52,8 @@ void kbasep_mem_profile_debugfs_remove(struct kbase_context *kctx);
* If the debugfs entry corresponding to the @p kctx doesn't exist,
* an attempt will be made to create it.
*
- * @return 0 if @p data inserted correctly
- * -EAGAIN in case of error
+ * Return: 0 if @p data inserted correctly, -EAGAIN in case of error
+ *
* @post @ref mem_profile_initialized will be set to @c true
* the first time this function succeeds.
*/