android_kernel_samsung_msm8976/include/video/adf_memblock.h
Greg Hackmann 6fb8a7bda2 video: adf: add memblock helper
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>
2014-06-13 12:05:30 -07:00

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_ */