Web[PATCH 058/115] gpu: ion: Refactor the code to zero buffers John Stultz [PATCH 059/115] gpu: ion: Only flush buffers in the chunk heap... John Stultz [PATCH 055/115] gpu: ion: Export ion_client_create John Stultz [PATCH 053/115] gpu: ion: Add chunk heap John Stultz [PATCH 050/115] gpu: ion: Fix bug where MAP ioctl was no longe... Web* drivers/staging/android/ion/ion_carveout_heap.c * * Copyright (C) 2011 Google, Inc. * * This software is licensed under the terms of the GNU General Public
raw-android-patches/0474-ion-carveout-heap-zero-buffers-on
Webstatic void ion_carveout_heap_free(struct ion_buffer *buffer) {struct ion_heap *heap = buffer->heap; ion_carveout_free(heap, buffer->priv_phys, buffer->size); buffer->priv_phys = … WebFile: ion_carveout_heap.c. package info (click to toggle) linux 4.7.8-1~bpo8%2B1. links: PTS , VCS. area: main. in suites: jessie-backports. size: 797,264 kB. sloc : ansic: … philly slums
git.linuxtv.org
Web* drivers/staging/android/ion/ion_carveout_heap.c * * Copyright (C) 2011 Google, Inc. * * This software is licensed under the terms of the GNU General Public 转到msm_ion.c,ion.c的某些函数也被重新封装了下.万事都从设备匹配开始: 从下面的代码可以得知,ION_HEAP_TYPE_SYSTEM_CONTIG使用kmalloc创 … Meer weergeven 内核空间使用ION也是大同小异,按照创建client,buffer,handle的流程,只是它的使用对用户空间来说是透明的罢了! ion_client_create … Meer weergeven 前一篇文章有说到,要使用ION, 必须要先创建ion_client, 因此用户空间在open ion的时候创建了client. 有了client之后,用户程序就可以开始申请分配ION buffer了!通过ioctl命令实现。 ion_ioct函数有若干个cmd,ION_IOC_ALLOC … Meer weergeven philly smart park