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