diff options
author | Sidath Senanayake <sidaths@google.com> | 2021-04-14 19:14:30 +0100 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2021-04-14 19:53:59 +0100 |
commit | 8037b534570814775d79aeddd06b76e5ee941f59 (patch) | |
tree | bd03fb25466475adb31333ff487350e1bd352fa1 /mali_kbase/mali_kbase_gpu_memory_debugfs.c | |
parent | 5ddb2927918bdf131080bc488eb1fb455d1cdfb7 (diff) | |
download | gpu-8037b534570814775d79aeddd06b76e5ee941f59.tar.gz |
Mali Valhall DDK r30p0 KMD
Provenance
4a09e9e58 (collaborate/EAC/v_r30p0)
VX504X08X-BU-00000-r30p0-01eac0 - Valhall Android DDK
VX504X08X-BU-60000-r30p0-01eac0 - Valhall Android Document Bundle
VX504X08X-DC-11001-r30p0-01eac0 - Valhall Android DDK Software Errata
VX504X08X-SW-99006-r30p0-01eac0 - Valhall Android Renderscript AOSP parts
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Ie30d6ece7ebe221c8e4c736af05ad05dcfc15127
Diffstat (limited to 'mali_kbase/mali_kbase_gpu_memory_debugfs.c')
-rw-r--r-- | mali_kbase/mali_kbase_gpu_memory_debugfs.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/mali_kbase/mali_kbase_gpu_memory_debugfs.c b/mali_kbase/mali_kbase_gpu_memory_debugfs.c index 84837f4..45ce740 100644 --- a/mali_kbase/mali_kbase_gpu_memory_debugfs.c +++ b/mali_kbase/mali_kbase_gpu_memory_debugfs.c @@ -1,12 +1,12 @@ // SPDX-License-Identifier: GPL-2.0 /* * - * (C) COPYRIGHT 2012-2017, 2019-2020 ARM Limited. All rights reserved. + * (C) COPYRIGHT 2012-2017, 2019-2021 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 * Foundation, and any use by you of this program is subject to the terms - * of such GNU licence. + * of such GNU license. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -17,24 +17,23 @@ * along with this program; if not, you can access it online at * http://www.gnu.org/licenses/gpl-2.0.html. * - * SPDX-License-Identifier: GPL-2.0 - * */ #include <mali_kbase.h> #include <device/mali_kbase_device.h> #ifdef CONFIG_DEBUG_FS -/** Show callback for the @c gpu_memory debugfs file. +/** + * kbasep_gpu_memory_seq_show - Show callback for the @c gpu_memory debugfs file + * @sfile: The debugfs entry + * @data: Data associated with the entry * * This function is called to get the contents of the @c gpu_memory debugfs * file. This is a report of current gpu memory usage. * - * @param sfile The debugfs entry - * @param data Data associated with the entry - * - * @return 0 if successfully prints data in debugfs entry file - * -1 if it encountered an error + * Return: + * * 0 if successfully prints data in debugfs entry file + * * -1 if it encountered an error */ static int kbasep_gpu_memory_seq_show(struct seq_file *sfile, void *data) |