xref: /rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra20/display.h (revision cf432dd5953e9ddf06759565c80fed470882da6d)
187540de3SWei Ni /*
287540de3SWei Ni  *  (C) Copyright 2010
387540de3SWei Ni  *  NVIDIA Corporation <www.nvidia.com>
487540de3SWei Ni  *
51a459660SWolfgang Denk  * SPDX-License-Identifier:	GPL-2.0+
687540de3SWei Ni  */
787540de3SWei Ni 
887540de3SWei Ni #ifndef __ASM_ARCH_TEGRA_DISPLAY_H
987540de3SWei Ni #define __ASM_ARCH_TEGRA_DISPLAY_H
1087540de3SWei Ni 
11*2eb70de6SSimon Glass #include <asm/arch-tegra/dc.h>
1287540de3SWei Ni 
1387540de3SWei Ni /* This holds information about a window which can be displayed */
1487540de3SWei Ni struct disp_ctl_win {
1587540de3SWei Ni 	enum win_color_depth_id fmt;	/* Color depth/format */
1687540de3SWei Ni 	unsigned	bpp;		/* Bits per pixel */
1787540de3SWei Ni 	phys_addr_t	phys_addr;	/* Physical address in memory */
1887540de3SWei Ni 	unsigned	x;		/* Horizontal address offset (bytes) */
1987540de3SWei Ni 	unsigned	y;		/* Veritical address offset (bytes) */
2087540de3SWei Ni 	unsigned	w;		/* Width of source window */
2187540de3SWei Ni 	unsigned	h;		/* Height of source window */
2287540de3SWei Ni 	unsigned	stride;		/* Number of bytes per line */
2387540de3SWei Ni 	unsigned	out_x;		/* Left edge of output window (col) */
2487540de3SWei Ni 	unsigned	out_y;		/* Top edge of output window (row) */
2587540de3SWei Ni 	unsigned	out_w;		/* Width of output window in pixels */
2687540de3SWei Ni 	unsigned	out_h;		/* Height of output window in pixels */
2787540de3SWei Ni };
2887540de3SWei Ni 
2987540de3SWei Ni #endif /*__ASM_ARCH_TEGRA_DISPLAY_H*/
30