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
12 #elif defined CONFIG_LCD
16 struct nx_display_dev {
17 #if defined CONFIG_DM_VIDEO
18 /* GraphicDevice graphic_device; -- not defined anymore */
19 #elif defined CONFIG_LCD
20 vidinfo_t *panel_info;
24 struct dp_sync_info sync;
25 struct dp_ctrl_info ctrl;
26 struct dp_plane_top top;
27 struct dp_plane_info planes[DP_PLANS_NUM];
30 struct dp_plane_info *fb_plane;
31 unsigned int depth; /* byte per pixel */