diff options
author | Sidath Senanayake <sidaths@google.com> | 2020-02-03 12:15:52 +0100 |
---|---|---|
committer | Sidath Senanayake <sidaths@google.com> | 2020-02-03 12:15:52 +0100 |
commit | 7ed9a0b8efa3abac35833b55f8012a2a85cc67a1 (patch) | |
tree | 0c297b2906c620d9cab1dd5f06db6909941cd843 /mali_kbase/mali_kbase_gpu_memory_debugfs.c | |
parent | 1f3b3ea0d31f66a6ec806e8f6ac5ebee44cb5923 (diff) | |
download | gpu-7ed9a0b8efa3abac35833b55f8012a2a85cc67a1.tar.gz |
Mali Valhall DDK r22p0 KMD
Provenance:
6425105ec (collaborate/EAC/v_r22p0)
VX504X08X-BU-00000-r22p0-01rel0 - Android DDK
VX504X08X-BU-60000-r22p0-01rel0 - Android Document Bundle
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: I257ad9ba30a61008e6425d63700356f16009ead7
Diffstat (limited to 'mali_kbase/mali_kbase_gpu_memory_debugfs.c')
-rw-r--r-- | mali_kbase/mali_kbase_gpu_memory_debugfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mali_kbase/mali_kbase_gpu_memory_debugfs.c b/mali_kbase/mali_kbase_gpu_memory_debugfs.c index 2c42f5c..569abd9 100644 --- a/mali_kbase/mali_kbase_gpu_memory_debugfs.c +++ b/mali_kbase/mali_kbase_gpu_memory_debugfs.c @@ -21,6 +21,7 @@ */ #include <mali_kbase.h> +#include <device/mali_kbase_device.h> #ifdef CONFIG_DEBUG_FS /** Show callback for the @c gpu_memory debugfs file. @@ -40,7 +41,7 @@ static int kbasep_gpu_memory_seq_show(struct seq_file *sfile, void *data) struct list_head *entry; const struct list_head *kbdev_list; - kbdev_list = kbase_dev_list_get(); + kbdev_list = kbase_device_get_list(); list_for_each(entry, kbdev_list) { struct kbase_device *kbdev = NULL; struct kbase_context *kctx; @@ -61,7 +62,7 @@ static int kbasep_gpu_memory_seq_show(struct seq_file *sfile, void *data) } mutex_unlock(&kbdev->kctx_list_lock); } - kbase_dev_list_put(kbdev_list); + kbase_device_put_list(kbdev_list); return 0; } |