Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / gpu / drm / arc / arcpgu_regs.h
blobb689a382d556ca42ac313c1c1e463c882b648083
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * ARC PGU DRM driver.
5 * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
6 */
8 #ifndef _ARC_PGU_REGS_H_
9 #define _ARC_PGU_REGS_H_
11 #define ARCPGU_REG_CTRL 0x00
12 #define ARCPGU_REG_STAT 0x04
13 #define ARCPGU_REG_FMT 0x10
14 #define ARCPGU_REG_HSYNC 0x14
15 #define ARCPGU_REG_VSYNC 0x18
16 #define ARCPGU_REG_ACTIVE 0x1c
17 #define ARCPGU_REG_BUF0_ADDR 0x40
18 #define ARCPGU_REG_STRIDE 0x50
19 #define ARCPGU_REG_START_SET 0x84
21 #define ARCPGU_REG_ID 0x3FC
23 #define ARCPGU_CTRL_ENABLE_MASK 0x02
24 #define ARCPGU_CTRL_VS_POL_MASK 0x1
25 #define ARCPGU_CTRL_VS_POL_OFST 0x3
26 #define ARCPGU_CTRL_HS_POL_MASK 0x1
27 #define ARCPGU_CTRL_HS_POL_OFST 0x4
28 #define ARCPGU_MODE_XRGB8888 BIT(2)
29 #define ARCPGU_STAT_BUSY_MASK 0x02
31 #endif