Wei Ni | 6555e69 | 2012-10-17 13:24:50 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2010 |
| 3 | * NVIDIA Corporation <www.nvidia.com> |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Wei Ni | 6555e69 | 2012-10-17 13:24:50 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef __ASM_ARCH_TEGRA_DISPLAY_H |
| 9 | #define __ASM_ARCH_TEGRA_DISPLAY_H |
| 10 | |
Simon Glass | a11a43a | 2015-04-14 21:03:35 -0600 | [diff] [blame] | 11 | #include <asm/arch-tegra/dc.h> |
Wei Ni | 6555e69 | 2012-10-17 13:24:50 +0000 | [diff] [blame] | 12 | |
| 13 | /* This holds information about a window which can be displayed */ |
| 14 | struct disp_ctl_win { |
| 15 | enum win_color_depth_id fmt; /* Color depth/format */ |
| 16 | unsigned bpp; /* Bits per pixel */ |
| 17 | phys_addr_t phys_addr; /* Physical address in memory */ |
| 18 | unsigned x; /* Horizontal address offset (bytes) */ |
| 19 | unsigned y; /* Veritical address offset (bytes) */ |
| 20 | unsigned w; /* Width of source window */ |
| 21 | unsigned h; /* Height of source window */ |
| 22 | unsigned stride; /* Number of bytes per line */ |
| 23 | unsigned out_x; /* Left edge of output window (col) */ |
| 24 | unsigned out_y; /* Top edge of output window (row) */ |
| 25 | unsigned out_w; /* Width of output window in pixels */ |
| 26 | unsigned out_h; /* Height of output window in pixels */ |
| 27 | }; |
| 28 | |
Wei Ni | 6555e69 | 2012-10-17 13:24:50 +0000 | [diff] [blame] | 29 | #endif /*__ASM_ARCH_TEGRA_DISPLAY_H*/ |