mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-26 06:04:14 +08:00
5c9b969f69
There are two PATBASE address registers, one for linear layout and other for tiled. The driver's address registers list misses the tiled PATBASE register. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
27 lines
653 B
C
27 lines
653 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (C) 2013 NVIDIA Corporation
|
|
*/
|
|
|
|
#ifndef TEGRA_GR2D_H
|
|
#define TEGRA_GR2D_H
|
|
|
|
#define GR2D_UA_BASE_ADDR 0x1a
|
|
#define GR2D_VA_BASE_ADDR 0x1b
|
|
#define GR2D_PAT_BASE_ADDR 0x26
|
|
#define GR2D_DSTA_BASE_ADDR 0x2b
|
|
#define GR2D_DSTB_BASE_ADDR 0x2c
|
|
#define GR2D_DSTC_BASE_ADDR 0x2d
|
|
#define GR2D_SRCA_BASE_ADDR 0x31
|
|
#define GR2D_SRCB_BASE_ADDR 0x32
|
|
#define GR2D_PATBASE_ADDR 0x47
|
|
#define GR2D_SRC_BASE_ADDR_SB 0x48
|
|
#define GR2D_DSTA_BASE_ADDR_SB 0x49
|
|
#define GR2D_DSTB_BASE_ADDR_SB 0x4a
|
|
#define GR2D_UA_BASE_ADDR_SB 0x4b
|
|
#define GR2D_VA_BASE_ADDR_SB 0x4c
|
|
|
|
#define GR2D_NUM_REGS 0x4d
|
|
|
|
#endif
|