xref: /openbmc/linux/drivers/gpu/drm/tegra/gr2d.h (revision ae213c44)
1 /*
2  * Copyright (C) 2013 NVIDIA Corporation
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 
9 #ifndef TEGRA_GR2D_H
10 #define TEGRA_GR2D_H
11 
12 #define GR2D_UA_BASE_ADDR		0x1a
13 #define GR2D_VA_BASE_ADDR		0x1b
14 #define GR2D_PAT_BASE_ADDR		0x26
15 #define GR2D_DSTA_BASE_ADDR		0x2b
16 #define GR2D_DSTB_BASE_ADDR		0x2c
17 #define GR2D_DSTC_BASE_ADDR		0x2d
18 #define GR2D_SRCA_BASE_ADDR		0x31
19 #define GR2D_SRCB_BASE_ADDR		0x32
20 #define GR2D_SRC_BASE_ADDR_SB		0x48
21 #define GR2D_DSTA_BASE_ADDR_SB		0x49
22 #define GR2D_DSTB_BASE_ADDR_SB		0x4a
23 #define GR2D_UA_BASE_ADDR_SB		0x4b
24 #define GR2D_VA_BASE_ADDR_SB		0x4c
25 
26 #define GR2D_NUM_REGS			0x4d
27 
28 #endif
29