#include <linux/dma-buf.h>
#endif
#endif
-
+#define H_USE_FENCE 1
static int hdmi_switch_complete;
static struct platform_device *fb_pdev;
struct list_head saved_list;
};
struct rk_fb_area_par {
- u16 ion_fd;
+ int ion_fd;
unsigned long phy_addr;
- u16 acq_fence_fd;
+ int acq_fence_fd;
u32 x_offset;
u32 y_offset;
u32 xpos; /*start point in panel --->LCDC_WINx_DSP_ST*/
};
struct rk_fb_win_cfg_data {
- u16 ret_fence_fd;
- u16 rel_fence_fd[RK_MAX_BUF_NUM];
+ int ret_fence_fd;
+ int rel_fence_fd[RK_MAX_BUF_NUM];
struct rk_fb_win_par win_par[RK30_MAX_LAYER_SUPPORT];
struct rk_lcdc_post_cfg post_cfg;
u8 wait_fs;