diff options
author | Sandy Huang <hjc@rock-chips.com> | 2017-11-14 14:27:37 +0300 |
---|---|---|
committer | Sandy Huang <hjc@rock-chips.com> | 2017-11-16 09:21:50 +0300 |
commit | 460c3b0029923a44a398d4b44d62054c0c249600 (patch) | |
tree | 0601ed3f4d1bbc93b52830d8bde377e705993798 /drivers/gpu/drm/rockchip/rockchip_vop_reg.h | |
parent | 5926466f543342a098da68b8f771c169dfa8b914 (diff) | |
download | linux-460c3b0029923a44a398d4b44d62054c0c249600.tar.xz |
drm/rockchip: vop: add rk3126 vop support
RK3126 vop register layout is similar with rk3036, so some feature
can reuse with rk3036.
RK3126 support two overlay plane and one hwc plane, max output
resolution is 1080p. it support IOMMU, and its IOMMU same as
rk3288's
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
Reviewed-by: Mark Yao <mark.yao@rock-chips.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1510658857-90299-1-git-send-email-hjc@rock-chips.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_vop_reg.h')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.h b/drivers/gpu/drm/rockchip/rockchip_vop_reg.h index 4a4799ff65de..f81b510ea99c 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.h +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.h @@ -878,4 +878,10 @@ #define RK3036_HWC_LUT_ADDR 0x800 /* rk3036 register definition end */ +/* rk3126 register definition */ +#define RK3126_WIN1_MST 0x4c +#define RK3126_WIN1_DSP_INFO 0x50 +#define RK3126_WIN1_DSP_ST 0x54 +/* rk3126 register definition end */ + #endif /* _ROCKCHIP_VOP_REG_H */ |