mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
6fb8a7bda2
Provides a dma-buf exporter for memblocks, mainly useful for ADF devices to wrap their bootloader logos Change-Id: I936a9b5df099ab6084d433fcaf50f3bc29f93289 Signed-off-by: Greg Hackmann <ghackmann@google.com> Git-commit: 23240e2e9a0420a4d1cf460a8c3549e952656f89 Git-Repo: https://android.googlesource.com/kernel/common.git Signed-off-by: Ian Maund <imaund@codeaurora.org>
20 lines
683 B
C
20 lines
683 B
C
/*
|
|
* Copyright (C) 2013 Google, Inc.
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef _VIDEO_ADF_MEMBLOCK_H_
|
|
#define _VIDEO_ADF_MEMBLOCK_H_
|
|
|
|
struct dma_buf *adf_memblock_export(phys_addr_t base, size_t size, int flags);
|
|
|
|
#endif /* _VIDEO_ADF_MEMBLOCK_H_ */
|