msm_mdp.h revision d5f7363825cb5c13e561575e3492042c0476770b
1/* include/linux/msm_mdp.h
2 *
3 * Copyright (C) 2007 Google Incorporated
4 * Copyright (c) 2012-2013 The Linux Foundation. All rights reserved.
5 *
6 * This software is licensed under the terms of the GNU General Public
7 * License version 2, as published by the Free Software Foundation, and
8 * may be copied, distributed, and modified under those terms.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 */
15#ifndef _MSM_MDP_H_
16#define _MSM_MDP_H_
17
18#include <uapi/linux/msm_mdp.h>
19
20int msm_fb_get_iommu_domain(struct fb_info *info, int domain);
21/* get the framebuffer physical address information */
22int get_fb_phys_info(unsigned long *start, unsigned long *len, int fb_num,
23	int subsys_id);
24struct fb_info *msm_fb_get_writeback_fb(void);
25int msm_fb_writeback_init(struct fb_info *info);
26int msm_fb_writeback_start(struct fb_info *info);
27int msm_fb_writeback_queue_buffer(struct fb_info *info,
28		struct msmfb_data *data);
29int msm_fb_writeback_dequeue_buffer(struct fb_info *info,
30		struct msmfb_data *data);
31int msm_fb_writeback_stop(struct fb_info *info);
32int msm_fb_writeback_terminate(struct fb_info *info);
33int msm_fb_writeback_set_secure(struct fb_info *info, int enable);
34
35#endif /*_MSM_MDP_H_*/
36