M7350/kernel/include/linux/msm_mdp.h

37 lines
1.4 KiB
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/* include/linux/msm_mdp.h
*
* Copyright (C) 2007 Google Incorporated
2024-09-09 08:57:42 +00:00
* Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
2024-09-09 08:52:07 +00:00
*
* 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 _MSM_MDP_H_
#define _MSM_MDP_H_
2024-09-09 08:57:42 +00:00
#include <uapi/linux/msm_mdp.h>
2024-09-09 08:52:07 +00:00
int msm_fb_get_iommu_domain(struct fb_info *info, int domain);
/* get the framebuffer physical address information */
int get_fb_phys_info(unsigned long *start, unsigned long *len, int fb_num,
int subsys_id);
struct fb_info *msm_fb_get_writeback_fb(void);
int msm_fb_writeback_init(struct fb_info *info);
int msm_fb_writeback_start(struct fb_info *info);
int msm_fb_writeback_queue_buffer(struct fb_info *info,
struct msmfb_data *data);
int msm_fb_writeback_dequeue_buffer(struct fb_info *info,
struct msmfb_data *data);
int msm_fb_writeback_stop(struct fb_info *info);
int msm_fb_writeback_terminate(struct fb_info *info);
int msm_fb_writeback_set_secure(struct fb_info *info, int enable);
2024-09-09 08:57:42 +00:00
int msm_fb_writeback_iommu_ref(struct fb_info *info, int enable);
2024-09-09 08:52:07 +00:00
#endif /*_MSM_MDP_H_*/