diff options
author | Alex Bee <knaerzche@gmail.com> | 2021-05-28 16:05:53 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-05-28 20:28:00 +0300 |
commit | d099fa672cbe8766d9182e0fd04c65058200128a (patch) | |
tree | b2f75f6c7a9ad48d83bc8a7f4ce8a68967f81a53 /drivers/gpu/drm/rockchip/rockchip_vop_reg.h | |
parent | 742203cd56d150eb7884eb45abb7d9dbc2bdbf04 (diff) | |
download | linux-d099fa672cbe8766d9182e0fd04c65058200128a.tar.xz |
drm: rockchip: add alpha support for RK3036, RK3066, RK3126 and RK3188
With
commit 2aae8ed1f390 ("drm/rockchip: Add per-pixel alpha support for the PX30 VOP")
alpha support was introduced for PX30's VOP.
RK3036, RK3066, RK3126 and RK3188 VOPs support alpha blending in the
same manner.
With the exception of RK3066 all of them support pre-multiplied alpha.
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210528130554.72191-5-knaerzche@gmail.com
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_vop_reg.h')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_vop_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_vop_reg.h b/drivers/gpu/drm/rockchip/rockchip_vop_reg.h index 6e9fa5815d4d..0b3cd65ba5c1 100644 --- a/drivers/gpu/drm/rockchip/rockchip_vop_reg.h +++ b/drivers/gpu/drm/rockchip/rockchip_vop_reg.h @@ -955,6 +955,7 @@ #define RK3188_DSP_CTRL0 0x04 #define RK3188_DSP_CTRL1 0x08 #define RK3188_INT_STATUS 0x10 +#define RK3188_ALPHA_CTRL 0x14 #define RK3188_WIN0_YRGB_MST0 0x20 #define RK3188_WIN0_CBR_MST0 0x24 #define RK3188_WIN0_YRGB_MST1 0x28 |