blob: 9411525799db457bc56f7b1c3211f12e296fd786 [file] [log] [blame]
Marcel Ziswilercad56712023-03-27 11:11:40 +03001/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * (C) Copyright 2010
4 * NVIDIA Corporation <www.nvidia.com>
5 */
6
7#ifndef __ASM_ARCH_TEGRA_DISPLAY_H
8#define __ASM_ARCH_TEGRA_DISPLAY_H
9
10#include <asm/arch-tegra/dc.h>
11
12/* This holds information about a window which can be displayed */
13struct disp_ctl_win {
14 enum win_color_depth_id fmt; /* Color depth/format */
15 unsigned int bpp; /* Bits per pixel */
16 phys_addr_t phys_addr; /* Physical address in memory */
17 unsigned int x; /* Horizontal address offset (bytes) */
18 unsigned int y; /* Veritical address offset (bytes) */
19 unsigned int w; /* Width of source window */
20 unsigned int h; /* Height of source window */
21 unsigned int stride; /* Number of bytes per line */
22 unsigned int out_x; /* Left edge of output window (col) */
23 unsigned int out_y; /* Top edge of output window (row) */
24 unsigned int out_w; /* Width of output window in pixels */
25 unsigned int out_h; /* Height of output window in pixels */
26};
27
28#endif /*__ASM_ARCH_TEGRA_DISPLAY_H*/