Skip to content

Commit 5c9b969

Browse files
digetxthierryreding
authored andcommitted
drm/tegra: gr2d: Add tiled PATBASE address register
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 <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
1 parent 2c2a291 commit 5c9b969

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

drivers/gpu/drm/tegra/gr2d.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ static const u32 gr2d_addr_regs[] = {
177177
GR2D_DSTC_BASE_ADDR,
178178
GR2D_SRCA_BASE_ADDR,
179179
GR2D_SRCB_BASE_ADDR,
180+
GR2D_PATBASE_ADDR,
180181
GR2D_SRC_BASE_ADDR_SB,
181182
GR2D_DSTA_BASE_ADDR_SB,
182183
GR2D_DSTB_BASE_ADDR_SB,

drivers/gpu/drm/tegra/gr2d.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define GR2D_DSTC_BASE_ADDR 0x2d
1515
#define GR2D_SRCA_BASE_ADDR 0x31
1616
#define GR2D_SRCB_BASE_ADDR 0x32
17+
#define GR2D_PATBASE_ADDR 0x47
1718
#define GR2D_SRC_BASE_ADDR_SB 0x48
1819
#define GR2D_DSTA_BASE_ADDR_SB 0x49
1920
#define GR2D_DSTB_BASE_ADDR_SB 0x4a

0 commit comments

Comments
 (0)