1 /* SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016 Nexell Co., Ltd.
5 * Author: junghyun, kim <jhkim@nexell.co.kr>
8 #ifndef _NX__DISPLAY_DEV_H_
9 #define _NX__DISPLAY_DEV_H_
11 #if defined CONFIG_VIDEO || defined CONFIG_DM_VIDEO
13 #elif defined CONFIG_LCD
17 struct nx_display_dev {
18 #if defined CONFIG_DM_VIDEO
19 /* GraphicDevice graphic_device; -- not defined anymore */
20 #elif defined CONFIG_LCD
21 vidinfo_t *panel_info;
25 struct dp_sync_info sync;
26 struct dp_ctrl_info ctrl;
27 struct dp_plane_top top;
28 struct dp_plane_info planes[DP_PLANS_NUM];
31 struct dp_plane_info *fb_plane;
32 unsigned int depth; /* byte per pixel */