diff options
author | Jonglin Lee <jonglin@google.com> | 2021-07-21 19:45:57 +0000 |
---|---|---|
committer | Jonglin Lee <jonglin@google.com> | 2021-07-21 19:45:57 +0000 |
commit | 7bdbdbf497a4745d24b857e9bd066845682885a0 (patch) | |
tree | 3b49dd6030f597037dc22282845f0c9a0a63daa5 /mali_kbase/mali_kbase_defs.h | |
parent | 9e6d1d7e88bae9f4be2ffbb20c9ac4655296c5d6 (diff) | |
download | gpu-7bdbdbf497a4745d24b857e9bd066845682885a0.tar.gz |
Revert "mali_kbase: platform: Add per-process and global account..."
Revert submission 1960415-dma-buf-sysfs
Reason for revert: causing kbase KPs
Reverted Changes:
Ib1400afdb:mali_kbase: platform: Add sysfs nodes for imported...
Id47feadaf:mali_kbase: platform: Add per-process and global s...
I29da69e46:mali_kbase: platform: Add per-process and global a...
Bug: 194313269
Change-Id: I285e1ed7266d8e0e7ae89518ffac04b0dd2d9c9d
Signed-off-by: Jonglin Lee <jonglin@google.com>
Diffstat (limited to 'mali_kbase/mali_kbase_defs.h')
-rw-r--r-- | mali_kbase/mali_kbase_defs.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mali_kbase/mali_kbase_defs.h b/mali_kbase/mali_kbase_defs.h index 97c03cd..13bba29 100644 --- a/mali_kbase/mali_kbase_defs.h +++ b/mali_kbase/mali_kbase_defs.h @@ -617,9 +617,6 @@ struct kbase_devfreq_queue_info { * @total_gpu_pages: Total gpu pages allocated across all the contexts * of this process, it accounts for both native allocations * and dma_buf imported allocations. - * @dma_buf_pages: Total dma_buf pages allocated across all the contexts - * of this process, native allocations can be accounted for - * by subtracting this from &total_gpu_pages. * @kctx_list: List of kbase contexts created for the process. * @kprcs_node: Node to a rb_tree, kbase_device will maintain a rb_tree * based on key tgid, kprcs_node is the node link to @@ -633,7 +630,6 @@ struct kbase_devfreq_queue_info { struct kbase_process { pid_t tgid; size_t total_gpu_pages; - size_t dma_buf_pages; struct list_head kctx_list; struct rb_node kprcs_node; @@ -930,7 +926,6 @@ struct kbase_process { * mapping and gpu memory usage at device level and * other one at process level. * @total_gpu_pages: Total GPU pages used for the complete GPU device. - * @dma_buf_pages: Total dma_buf pages used for GPU platform device. * @dma_buf_lock: This mutex should be held while accounting for * @total_gpu_pages from imported dma buffers. * @gpu_mem_usage_lock: This spinlock should be held while accounting @@ -1211,7 +1206,6 @@ struct kbase_device { struct rb_root dma_buf_root; size_t total_gpu_pages; - size_t dma_buf_pages; struct mutex dma_buf_lock; spinlock_t gpu_mem_usage_lock; |