summaryrefslogtreecommitdiff
path: root/bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/disp_manager.h
blob: 33066cfd7c88e0cde25a1f9bfdbc01417e048f3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Allwinner SoCs display driver.
 *
 * Copyright (C) 2016 Allwinner.
 *
 * This file is licensed under the terms of the GNU General Public
 * License version 2.  This program is licensed "as is" without any
 * warranty of any kind, whether express or implied.
 */

#ifndef __DISP_MANAGER_H__
#define __DISP_MANAGER_H__

#include "disp_private.h"

s32 disp_init_mgr(struct disp_bsp_init_para *para);

#if defined(CONFIG_SUNXI_IOMMU)
#define DE_MASTOR_ID 0
extern void sunxi_enable_device_iommu(unsigned int mastor_id, bool flag);
#endif

extern s32 __disp_config_transfer2inner(
    struct disp_layer_config_inner *config_inner,
    struct disp_layer_config *config);
extern s32 __disp_config2_transfer2inner(
    struct disp_layer_config_inner *config_inner,
    struct disp_layer_config2 *config);

#endif